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

Name 'standard' axes to match fonttools #1032

Merged
merged 2 commits into from
Oct 14, 2024
Merged

Conversation

anthrotype
Copy link
Member

@anthrotype anthrotype commented Oct 14, 2024

Part of fixing #1020

This makes so that we follow fonttools' axis naming of a special group of registered axes, conventions still used by some old source files.

The remaining part of #1020 requires norad to support parsing of <labelname> element.

@anthrotype anthrotype changed the title add test and file containing 'standard' axis names rename 'standard' axis names to match fonttools Oct 14, 2024
@anthrotype anthrotype changed the title rename 'standard' axis names to match fonttools Name 'standard' axes to match fonttools Oct 14, 2024
@anthrotype
Copy link
Member Author

reproducer:

https://github.com/googlefonts/fontc/actions/runs/11326676896/job/31496101459?pr=1032#step:4:433

Diff < left / right > :
 [
<    "Weight",
<    "Width",
<    "Italic",
<    "Slant",
<    "Optical Size",
>    "weight",
>    "width",
>    "italic",
>    "slant",
>    "optical",
     "foobarbaz",
 ]

@anthrotype
Copy link
Member Author

after this PR, https://github.com/weiweihuanghuang/Work-Sans Work-Sans-Italic.glyphs reports identical name, fvar and STAT tables in ttx_diff.py

@anthrotype anthrotype added this pull request to the merge queue Oct 14, 2024
Merged via the queue into main with commit 7c3be61 Oct 14, 2024
10 checks passed
@anthrotype anthrotype deleted the standard-axis-names branch October 14, 2024 17:21
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