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

> So I think these need to be kept in sync on how they behave, unless there's some particular reason why font-size-adjust and this feature need to be distinct in some particular detail in which case we can make that detail a well-considered exception.

(The following assumes "these" mean `font-size-adjust` property and the proposed descriptor)

I don't think the new descriptor should affect the `font-size` property value, neither computed nor used, because it is ill-defined. Assume we have an element that uses multiple font faces, some of which have this scale factor and some don't. Then they would want to set different used `font-size` values to the same element.

A similar idea is that, only the first available font's glyph scale factor affects the used font-size of the element. While being well-defined on its own, this means we can't use it to harmonize an element with mixed fonts. I don't think this is the desired solution...

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


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

Received on Tuesday, 9 March 2021 21:44:21 UTC