fitty icon indicating copy to clipboard operation
fitty copied to clipboard

Specific Font-Families are not properly fitted

Open emrockarts opened this issue 2 years ago • 1 comments

I'm using Fitty with multiple Google fonts. Certain font families extend past their container width, 'Great Vibes' and 'Aguafina' are two examples. Is this fixable or is there a good workaround?

Codepen here: https://codepen.io/emrockarts/pen/qBJmBmp

emrockarts avatar Apr 25 '23 16:04 emrockarts

I don't really have a workaround for this, in a perfect world Fitty would measure the actual horizontal pixels used but it doesn't right now. So this will require some hacking, maybe by adjusting padding/margin on a parent container.

rikschennink avatar Apr 26 '23 14:04 rikschennink