W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2019

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

From: Scott Kellum via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 Mar 2019 14:46:40 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-468688423-1551451598-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:44 UTC