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

maxp.maxZones == 0 causes ots warning #90

Open
justvanrossum opened this issue Feb 15, 2022 · 1 comment
Open

maxp.maxZones == 0 causes ots warning #90

justvanrossum opened this issue Feb 15, 2022 · 1 comment

Comments

@justvanrossum
Copy link

TBH I'm not sure who's wrong or right here, just wanted to put this out here as an observation.

https://github.com/khaledhosny/ots/blob/ff09cd0b6b0dd210a4c1bafd61fcbbba21738751/src/maxp.cc#L50

The workaround is to call dehinter with --keep-maxp.

@anthrotype
Copy link

It should be set to 1 for unhinted I think (they don't use the 'twilight zone')

https://docs.microsoft.com/en-us/typography/opentype/spec/maxp

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

No branches or pull requests

2 participants