Re: [csswg-drafts] [css-fonts-5] font-size-adjust and font metrics overrides (#8967)

> Related, but I think we discussed this: Does the spec already clarify the case of how the `size-adjust` `@font-face` descriptor interacts with `font-size-adjust`?

I think so. [The level 5 draft](https://www.w3.org/TR/css-fonts-5/#font-metrics-override-desc) mentions
> The font-size-adjust property is applied after the size-adjust descriptor.
> Note: The consequence of applying font-size-adjust after size-adjust is that size-adjust appears to have no effect.

> 
> PS:
> 
> > When I tested, Gecko applied the metric override after font-size-adjust.
> 
> Do you mean by that, the font size is first scaled (up, 2.0x in your example), then he ascent/descent overrides are applied?

Yes. [Here is the test.](http://wpt.live/css/css-fonts/font-size-adjust-metrics-override.html)



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


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

Received on Friday, 7 July 2023 23:42:23 UTC