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

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

From: jfkthame via GitHub <sysbot+gh@w3.org>
Date: Tue, 23 Jun 2020 08:41:00 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-647999259-1592901659-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:28 UTC