Re: [csswg-drafts] [css-fonts-4] [varfont] Supported variation font axes and font features are not discoverable

Some more thoughts,

There are times when I want to query features and axis of a font but I don’t know _what_ font is loaded. For example, I might have a font stack with San Francisco in it and this will only be available on Apple devices. I want to query the features available to me on any given element. If I want to make a rich text editor, the opentype and variable font menus will be different depending on what font is activated in the font stack. In this scenario I don’t know of a feature or axis to test for but I want to query a menu of all possible features and axis.

Another scenario is if I want to accommodate for making text strong via a combination of weight and width axis I might want to use something more like `@supports`, but focused on what any particular element can support instead of globally what the browser or a particular font can support.

-- 
GitHub Notification of comment by scottkellum
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/520#issuecomment-436691923 using your GitHub account

Received on Wednesday, 7 November 2018 16:44:51 UTC