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

allow to disable automatic setting of USE_MY_METRICS glyf component flag #741

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

anthrotype
Copy link
Member

Setting USE_MY_METRICS (0x0200) the way ufo2ft does (to the component whose base glyph has the same advance width and horizontal positioning as the composite glyph as a whole) is not necessary for fonts that do not have hinted metrics
Having this flag set doesn't hurt either (it's basically no-op for unhinted fonts), thus I don't want to change the default behavior otherwise it will produce spurious diffs.
At least we allow to disable this feature. It will also help us when comparing the output of fontmake-py vs fontmake-rs (which does not implement this unnecessary USE_MY_METRICS flag setting).

(FWIW Glyphs.app also does not set this flag)

this is unnecessary (no-op) for unhinted fonts, allow to disable it.
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.

1 participant