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

googlefonts/font_names: raise warn for families with MORF axis #4881

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

m4rc1e
Copy link
Collaborator

@m4rc1e m4rc1e commented Nov 1, 2024

Description

If a family contains a Morph axis, it most likely doesn't have a default stylename that conforms to our specification since our spec assumes every font will have a weight axis, or at least a Regular style.

Imo it is impossible to determine what the stylename will be since the designer can choose anything so it's best we just skip the check. However, instead of skipping, I feel it's better to raise a warn and inform the user that the font contains a Morph axis and to provide an example font.

Checklist

  • update CHANGELOG.md
  • wait for the tests to pass
  • request a review

@felipesanches felipesanches added this to the 0.13.0 milestone Nov 5, 2024
If a family contains a Morph axis, it most likely doesn't have a default stylename that conforms to our specification since our spec assumes every font will have a weight axis, or at least a Regular style.

Imo it is impossible to determine what the stylename will be since the designer can choose anything so it's best we just skip the check. However, instead of skipping, I feel it's better to raise a warn and inform the user that the font contains a Morph axis and to provide an example font.

(PR #4881)
@felipesanches felipesanches merged commit b3d3833 into main Nov 5, 2024
100 checks passed
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