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

avoid reloading font unconditionally in postProcessor #671

Merged
merged 3 commits into from Oct 28, 2022

Conversation

anthrotype
Copy link
Member

Fixes #485

For the tests to pass we need to release fonttools with fonttools/fonttools#2860

Fixes #485

For the tests to pass we need to release fonttools with fonttools/fonttools#2860
@anthrotype
Copy link
Member Author

I hope this will also fix another issue related to building fonts with huge glyph set like Source Han Sans, in which compiling post format 2 raises overflow error, but the compilation step is unnecessary and can be delayed at the very end after the postcript glyph names have been dropped (post format 3), like I do in this PR.

#462 (comment)
googlefonts/fontmake#939

/cc @punchcutter

@anthrotype anthrotype merged commit 236096c into main Oct 28, 2022
@anthrotype anthrotype deleted the no-reload-font branch October 28, 2022 20:43
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.

Avoid "reloading" TTFonts in PostProcessor.__init__
1 participant