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

> Is the line gap metric clamping the only thing this sanitizer does that you think is required for web compat?

This is the only thing I'm aware of today. Perhaps we will discover more in the future.

> Are these metrics allowed to be negative per the OpenType spec?

The spec says they are of signed type. It doesn't say anything about negative values. https://docs.microsoft.com/en-us/typography/opentype/spec/hhea and https://docs.microsoft.com/en-us/typography/opentype/spec/os2

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

Received on Wednesday, 13 May 2020 00:43:06 UTC