Re: [csswg-drafts] [css-fonts-5] advance-override details (#5983)

I don't have a strong opinion on where to add spacing: before, after or around each glyph. All work the same for the purpose of reducing layout shift, so I'm fine to accept any resolution that gives the best typography.

> Agreed, and I'd go further: I think shipping `advance-override` without shipping `font-size-override` would be harmful.

We actually have prototyped `font-size-override` in Chrome, but dropped it from the proposal because it seems tricky to cleanly specify:
- Should `ascent-override` etc resolve their percentage value against the `font-size` property value, or the overridden font size? Either way seems not very natural.
- Should the resolution of length units `ex`, `ch` and etc be affected?

I'm happy to see if `font-size-override` can be specified nicely, since it gives an alternative to reduce layout shift, but without breaking shaping.

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


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

Received on Wednesday, 3 March 2021 23:59:31 UTC