Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable font does not sit on the baseline properly #26

Closed
dwatracz opened this issue Dec 6, 2022 · 2 comments · Fixed by #9
Closed

Variable font does not sit on the baseline properly #26

dwatracz opened this issue Dec 6, 2022 · 2 comments · Fixed by #9

Comments

@dwatracz
Copy link

dwatracz commented Dec 6, 2022

Variable font does not sit on the baseline properly. This makes aligning font to any box not looking visually balanced.

There is more space "above" the font, than "below it" (above the cap, than below the descender).

So when for example I design a button using Mona Sans Variable, it looks like the button label is too low, and should be higher.

This issue is not present in normal fonts, it is only in the variable font.

Below there is a screenshot explaining this situation (I'm using Sketch for design) with a variable version of the font and not variable, and there are significant differences between them.

Screenshot 2022-12-06 at 12 15 14

@tobiasahlin
Copy link
Collaborator

Thank you for reporting @dwatracz ! This might get fixed in #9 - adding this reference as a reminder for me to circle back to it.

@tobiasahlin
Copy link
Collaborator

Fixed in #9 🙏 thank you @dwatracz !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants