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

Respect useTypoMetrics #306

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

StLyn4
Copy link

@StLyn4 StLyn4 commented Apr 7, 2023

  1. This PR also contains the changes contained in vhea and glyf fixes #305 so that you can accept smaller changes while rejecting this PR (if you wish to do so).

  2. At the moment, the library ignores the useTypoMetrics flag, which can lead to strange metrics in some cases. This branch solves this problem using the same algorithm as FreeType (https://gitlab.freedesktop.org/freetype/freetype/-/blob/4d8db130ea4342317581bab65fc96365ce806b77/src/sfnt/sfobjs.c#L1310).

Vsevolod Volkov added 3 commits March 26, 2023 20:50
Vsevolod Volkov added 2 commits April 10, 2023 16:32
ptoussai added a commit to lineto/fontkit that referenced this pull request Nov 19, 2024
Signed-off-by: Vsevolod Volkov <[email protected]>
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