Re: [csswg-drafts] [css-text] letter-spacing should not apply to the end edge of a line/span? (#1518)

It seems to me that the cases @kojiishi posted are largely requiring letter-spacing at the end of a span, in the middle of a line. They're not needing the letter-spacing at the end of the line. Letter-spacing at the end of the line is also the most problematic for the SVG case (and for CSS cases, too).

So my suggestion here is that:
    * We define for CSS Text Level 3 that letter-spacing is not applied at the end of the line. This solves the SVG case, improves rendering in many CSS cases, and will not break at least the letter-spacing-as-kerning examples that Koji posted.
    * We mark as undefined how letter-spacing applies at element/fragment boundaries in the middle of the line for Level 3, possibly describing the behaviors under consideration as options for Level 4.
    * We explore in level 4 the problem of letter-spacing applying at element at element/fragment boundaries in the middle of the line, possibly introducing a switch if necessary.

Does this seem like a workable plan?

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

Received on Thursday, 2 July 2020 02:54:34 UTC