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

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

From: Mike Bremford via GitHub <sysbot+gh@w3.org>
Date: Wed, 19 Feb 2020 16:29:47 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-588311102-1582129786-sysbot+gh@w3.org>
Yes, you can set a specific line-height every time you use that font and get consistent cross-browser results for line-spacing.

But it seems if you're overriding ascender/descender, on which the default value of line-height depends, you might also want to set the default line-height as well. It's not necessary, but it will save you specifying `line-height` everywhere you use the font. If the stylesheet defining the font is being imported by someone not familiar with the modified metrics, this is probably quite important.

GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4792#issuecomment-588311102 using your GitHub account
Received on Wednesday, 19 February 2020 16:29:48 UTC

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