Re: [csswg-drafts] [css-fonts] Specifying changes to parameters for fallback fonts (#126)

One issue with doing this all via descriptors even for local fonts is that `@font-face` is for single faces (let's leave variable fonts out for now). So, if I want to declare e.g. that if Helvetica Neue is used, I want tighter letter-spacing, I would need to declare dozens of rules, one for each Helvetica Neue face. Even just scoping it to Helvetica Neue Bold still requires several rules, especially if there are condensed and expanded faces available etc.

Also, the way matching is done in the `font-family` property is not the same as in the `local()` function. The latter requires the [locally installed name](https://drafts.csswg.org/css-fonts-3/#font-face-name-value), which can vary a lot, even for the same font. 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 12 February 2021 18:43:21 UTC