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

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

From: Tobi Reif via GitHub <sysbot+gh@w3.org>
Date: Wed, 19 Feb 2020 17:49:18 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-588353050-1582134557-sysbot+gh@w3.org>
@khaledhosny wrote:
> One can already override font provided line spacing with CSS `line-height`

`line-height:normal` does not help, see https://github.com/w3c/csswg-drafts/issues/2228#issuecomment-366310641

Chrome on MacOS:

Chrome on Windows:

`line-height: 1` does not help either, see https://github.com/w3c/csswg-drafts/issues/2228#issuecomment-504767148

@faceless2 wrote:
> Yes, you can set a specific line-height every time you use that font and get consistent
> cross-browser results for line-spacing.

The issue is not line-spacing 😀The issue is shown in the above screenshots. When it appears it appears even for a single line or word, on one OS vs another (more at #2228 ).

@jfkthame wrote:
> Setting line-height is not sufficent


GitHub Notification of comment by tobireif
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4792#issuecomment-588353050 using your GitHub account
Received on Wednesday, 19 February 2020 17:49:20 UTC

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