Re: [csswg-drafts] [css-fonts-5] Add glyph scaling override descriptor to @font-face (#6075)

I generally agree with @jfkthame.

One subtle issue is that, what exactly is the value being overridden? It should not be the `font-size` property value, neither computed nor used, since they work at different levels and should better not have extra dependency.

It feels more like hacking the [font matching algorithm](https://www.w3.org/TR/css-fonts-4/#font-matching-algorithm) that, when trying to find a face with font size, say, 24px, we instead return a face of a different font size, and use it for text layout as if it were 24px.

Is there a nice way to specify it?

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


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

Received on Thursday, 4 March 2021 22:02:40 UTC