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

Do not add Mac names when populating the fvar table #187

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

Hoolean
Copy link
Contributor

@Hoolean Hoolean commented Jan 23, 2025

See googlefonts/gftools#469

As of the latest Font Bakery release, the no_mac_entries check has been promoted to the Universal profile, but by default, gftools and axisregistry insert Mac names when populating STAT and fvar.

googlefonts/gftools#1077 has been merged to prevent adding Mac names to STAT, and so this PR follows up to prevent Mac names from being added to fvar too. This is already the behaviour of the in-progress Rust port of axisregistry, and so only the original Python version has been adjusted.

This is the right approach for the particular project I am looking at, but I would like to confirm that this is the right fix - as opposed to, e.g., making the Mac names opt-out - to make sure that this will not have unintended consequences for other consumers of axisregistry, for static TTFs destined for legacy environments, or similar.

@simoncozens simoncozens merged commit 747a4c0 into googlefonts:main Jan 23, 2025
7 checks passed
@Hoolean Hoolean deleted the no-mac-names branch January 23, 2025 13:37
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.

2 participants