- From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
- Date: Tue, 10 Apr 2018 08:59:54 +0000
- To: public-css-archive@w3.org
> use @font-face rule to define myVariableFontA using a variation font resource that supports both 'wdth' (in 50 to 200 range) and 'wght' (in 100 to 900 range) axes ... > `@font-face { font-family: myVariableFontA; font-variation-settings: 'wght' 700, 'wdth' 70; }` The content should be saying `@font-face { font-family: myVariableFontA; font-weight: 100 900; font-stretch: 50% 200% }` The `@font-variation-settings` descriptor doesn’t affect font selection, so “SysVariableFontB would be used as a fallback font” is right. But the `@font-face` block for SysVariableFontB wouldn’t specify `wdth 70` (because it doesn’t support the `wdth` axis), so the UA wouldn’t even try to apply the `wdth` axis in the first place. In the example you gave, what is the element’s style which is referencing these fonts? -- GitHub Notification of comment by litherum Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2221#issuecomment-380026859 using your GitHub account
Received on Tuesday, 10 April 2018 08:59:56 UTC