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

add an -o auto to build a variable or static TTF depending on number of masters #1125

Open
anthrotype opened this issue Sep 30, 2024 · 0 comments

Comments

@anthrotype
Copy link
Member

currently with -o variable, we end up needlessly building empty or no-op variable tables when the source only contains 1 master.
Adding a new -o auto would align fontmake output options with fontc, which would aid comparing the two programmatically.

see googlefonts/fontc#971 (comment)

While we could change -o variable to instead build a static font when len(masters) == 1, the two variable vs static code paths are distinct enough in the fontmake pipeline to warrant a separate -o parameter. It's not the same thing to build a single master for a not-so-variable font or build it as a static font (e.g. think removing overlaps).

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

No branches or pull requests

1 participant