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

set extra glyph scale factor from freetype font metrics #493

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kyriosli
Copy link

FreeType fonts has an internal scale factor that makes glyphs smaller than the actual font size. So we should multiply the scale factor before calculating the glyph sizes.

@olliwang
Copy link
Contributor

Just tried and still found inconsistent font size displayed for different font files. Any way to improve it further?

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 this pull request may close these issues.

2 participants