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

Font constants crate? #1182

Open
simoncozens opened this issue Oct 9, 2024 · 1 comment
Open

Font constants crate? #1182

simoncozens opened this issue Oct 9, 2024 · 1 comment

Comments

@simoncozens
Copy link
Contributor

One thing I have noticed in the Python font ecosystem is endless duplication of core constants; various packages have their own lists of:

  • Valid language/script/feature tags
  • Conversions between usWeightClass/usWidthClass values and fvar values
  • Which scripts go through the Indic or USE shapers
  • Well-known names for various weight instances
  • Unicode range / codepage bit definitions
  • Registered axis tags

and so on. Would there be any interest in hosting a crate in this repo with a common set of font-related constants?

@rsheeter
Copy link
Collaborator

rsheeter commented Oct 9, 2024

Makes sense to me. I have questions about whether it should be one crate, several crates, if some of it belongs in font-types, if some of it belongs in harfruzz (what shaper), etc.

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

2 participants