Re: [csswg-drafts] [css-text-4] text-spacing-trim and classes of closing punctuation (#9504)

Hmm...I'm not sure if I understand all accurate nuance of your question, sorry for my English skill, but IIUC, the answer is yes. The spec requires applying only to fullwidth glyphs, right? The current implementation in Chromium applies the kerning by applying `halt`. The `halt` should have no effects for propotional glyphs by definition.

The current implementation also checks if glyphs are fullwidth or not for some cases, and also ink is at the expected part of the glyph spaces. This is needed for some other cases and for the performance optimizations, but this part will need further tuning by testing more fonts. The current implementation adds about ~7% cost to the shape engine, I'm trying to reduce this a bit more.

Does this answer all your questions?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 23 October 2023 04:25:05 UTC