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

Some Inter CFF's hmtx left side bearings are incorrect, if the leftmost point is not on the curve (like O in italic) #228

Open
be5invis opened this issue Jan 15, 2020 · 1 comment
Labels
technical About a technical aspect like font file format details

Comments

@be5invis
Copy link

Per discussion from here, the definition of the bounding box of a CFF glyph is defined by its actual curve rather than the control points, therefore when calculating the hmtx table's LSB entry, we need to use the bound of real outline rather than control points.

This affects glyphs like O in Italic: Inter says its LSB being 140 units. However if I re-export it using FontForge the LSB become 191.

@rsms
Copy link
Owner

rsms commented Jan 15, 2020

Interesting. I wonder how this could be fixed in fontmake/fonttools and/or Glyphs...

@rsms rsms added the technical About a technical aspect like font file format details label Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical About a technical aspect like font file format details
Projects
None yet
Development

No branches or pull requests

2 participants