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

[feaLib] Support 'u', 'd', and 'n' suffixes for specifying axis locations in user/design/normalized space #3448

Open
anthrotype opened this issue Feb 16, 2024 · 1 comment

Comments

@anthrotype
Copy link
Member

currently conditionset blocks for specifying FeatureVariations use user-space axis coordinates in the Variable FEA spec proposal, and that's how feaLib implmented them: adobe-type-tools/afdko#1350

However it's useful to be able to specify them in either internal design-space or normalized space, and @skef proposed the following optional suffixes 'u', 'd', and 'n' to specify whether axis locatations should be interpreted respectively in user/design/normalized space: harfbuzz/boring-expansion-spec#94 (comment)

fea-rs has already implemented this, see cmyr/fea-rs#203

feaLib should add support for these suffixes as well

@behdad
Copy link
Member

behdad commented Feb 16, 2024

Good luck compiling u with avar2! :(

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