Re: [csswg-drafts] [css-text] [css-inline] Define how to deal with inline backgrounds whose boundary falls into a ligature (#5251)

In theory, fonts can include information to help with dividing up the advance width of a ligature, so that for example an "st" ligature might have a boundary position at 2/3 of the advance rather than half-way. In practice, however, hardly any fonts actually have that data; and it wouldn't help with vertical ligatures such as may be found in some Asian scripts, etc.

For the example here, I'd argue that gecko's behavior is clearly better than webkit or blink (and is what [the spec calls for](https://drafts.csswg.org/css-text-3/#boundary-shaping), even though there are certainly complex cases where the results are less than ideal.

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

Received on Tuesday, 23 June 2020 08:41:02 UTC