W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

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

From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
Date: Wed, 09 Sep 2020 17:09:44 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-689699638-1599671383-sysbot+gh@w3.org>
`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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:16 UTC