Re: [csswg-drafts] Interoperable font metrics (#4792)

`line-gap-override: <percentage>` makes sense to me.

I think `advance-override` needs some more time to bake, since it isn't actually adjusting font metrics - it's adjusting the `letter-spacing` CSS property. The CSS spec already today says that `letter-spacing` isn't just adding a constant to the advance of each glyph, but instead understands where inline elements end and avoids adding extra space at the end of runs. The behavior specified in the spec today is desirable - simply adding a constant to each glyphs' advance leads to bad typography. Correctly implementing this more complicated spacing algorithm would be tricky to do if one font in the font-family list has advance-override set to one thing but another one has it set to another thing.

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


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

Received on Wednesday, 9 September 2020 17:09:45 UTC