- From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
- Date: Wed, 10 Feb 2021 16:23:37 +0000
- To: public-css-archive@w3.org
litherum has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-fonts-5] Allow tweaking font-weight at per-fallback granularity == This issue is split off from https://github.com/w3c/csswg-drafts/issues/126 There are 2 use cases: - Being able to tweak the look of fallback fonts while web fonts are loading. The goal is to reduce the effects of the visual reflow when the web font does finally load (aka "flashiness") - Being able to tweak the look of fallback fonts for characters which are unsupported by the primary font. (I'm sure we've all seen cases where a rogue "é" somewhere on the page is rendered in some horrific and particularly noticeable fallback.) The goal is to allow pages the ability to say something like "for this fallback font, use font weight X, but for this other fallback font, use font weight Y." In https://github.com/w3c/csswg-drafts/issues/126#issuecomment-776063005 we resolved to do this sort of thing via `@font-face` descriptors. Note that, this sort of tweaking can already be done for non-variable fonts today: authors can just mark their `@font-face` block as having a different weight from the weight the font file reports to have. However, this doesn't work for variable fonts. So, there's more to do here, but this additional work isn't super high priority (since most of the use case is already satisfied). Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5975 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 10 February 2021 16:23:39 UTC