googlefonts / googlefonts/fontations

Font constants crate?

Open
#1,182 10 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
827
Forks
76
Avg merge
22h 33m
Merged PRs (30d)
75

Description

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the issue discussion and the existing fontations repository structure to understand whether a shared constants crate has an agreed scope. Done would require a settled list of supported font constants and an accepted crate design, but the issue does not name files or tests to use.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.