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

[css-fonts-4] [varfont] Allow font-variation-settings to use named values from STAT table #539

Closed
robmck-ms opened this issue Sep 28, 2016 · 3 comments
Labels
css-fonts-4 Current Work

Comments

@robmck-ms
Copy link

The font-variation-settings property enables web designers to directly address instances of a variable font by numeric value. E.g. "font-variation-settings: 'FNCY' 9000". The difficulty is: for nonstandard axes (e.g. those created by the font designer), there's no way to know what numeric value to use for a given use. Font designers would have to post instructions with the font, and designers will need to remember or look them up.

The STAT table in an OpenType variable font gives font designers a way to name points along an axis. It would be nice if user-agents could use the information from that table to allow named values for axes. E.g. "font-variation-settings: 'FNCY' 'Super Fancy'" or "font-variation-settings: 'FNCY' 'boring'".

@dbaron dbaron added the css-fonts-4 Current Work label Sep 28, 2016
@svgeesus
Copy link
Contributor

svgeesus commented Oct 5, 2016

Related: #525

@Crissov
Copy link
Contributor

Crissov commented Oct 6, 2016

and #518

@litherum
Copy link
Contributor

font-variation-settings isn't the best place for this, given its intended use is just a backdoor to get access to axes that are otherwise impossible to access. Indeed, font-variation-settings should almost never be used. Instead, we are discussing more general solutions for named values in #525. Let's move this specific discussion to there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-fonts-4 Current Work
Projects
None yet
Development

No branches or pull requests

5 participants