[csswg-drafts] [css-fonts] The web de-facto requires nonnegative line gap metrics in fonts (#5064)

litherum has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts] The web de-facto requires nonnegative line gap metrics in fonts ==
Firefox and Chrome both run web fonts through the [OpenType Sanitizer](https://github.com/khaledhosny/ots), which rewrites the font file. One of the things it does is clamp line gap metrics so that they aren't negative.

WebKit got a compatibility bug about this, since WebKit wasn't doing the same clamping. I've committed a [change](https://bugs.webkit.org/show_bug.cgi?id=211683) in WebKit to align with the other browsers and perform the clamping.

Because now all the browsers agree, and it is de-facto required for the web, the CSS fonts spec should say so (somewhere).

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5064 using your GitHub account

Received on Tuesday, 12 May 2020 23:31:41 UTC