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

Real world use cases
- Any type of design tool or word processor using typography can query the features a text block supports and the interface can reflect those features instead of showing UI that doesn’t do anything or excluding features. (there is no good workaround for this and as someone trying to do this it’s really frustrating)
- For typesetting, identify what features are supported by a font and progressively enhance for them.
  - Does the loaded font have a weight axis? If yes then style it using font variations instead of font weight.
  - Does a font support tabular numerals? If not then use a monospace font for some elements.
- Use the proportion from the font metrics to determine line height and font size so that type gets rendered more consistently across all the fallback fonts in the font stack.
- Pull the language support from the font metadata and ensure it matches the language on the site. If the font doesn’t work with your language then you can use one that supports a language better.

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

Received on Friday, 1 March 2019 14:46:41 UTC