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

feat: support variable axes #33

Open
1 of 2 tasks
qwerzl opened this issue Oct 6, 2024 · 1 comment
Open
1 of 2 tasks

feat: support variable axes #33

qwerzl opened this issue Oct 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@qwerzl
Copy link
Collaborator

qwerzl commented Oct 6, 2024

🆒 Your use case

Coming from nuxt/fonts#141.

The current unifont only supports wght and ital as variable axes, but font providers like Google offer control over way more variable axes than these two. We should also support them to leverage the full potential of fonts like Recursive.

🆕 The solution you'd like

  • feat: support variable axes for google #34
  • For providers that have not yet provided this kind of fine-grained control (which sadly means all providers other than google as of now), we should provide a built in variable axis subsetter.

@danielroe What do you think?

🔍 Alternatives you've considered

No response

ℹ️ Additional info

No response

@qwerzl qwerzl added the enhancement New feature or request label Oct 6, 2024
@danielroe
Copy link
Member

agreed! we can support arbitrary axes in the resolve options but need to consider how they could be normalised across providers (or mark them experimental until we have more than one provider supporting them)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants