Re: [csswg-drafts] [css-text] Cursive shaping breaks (near an image representing a letter) (#3487)

I pulled together some quick tests that show that failures to respect zwj behaviour may be due to:
1. major browsers only currently get zwj right reliably if the base direction is set to RTL
2. a small number of fonts don't seem to have necessary support for zwj
See the two comments starting at https://github.com/web-platform-tests/wpt/pull/14673#issuecomment-453519975 for links and more details.

On the separate issue of whether markup interrupts cursive joining, see our tests and results at https://w3c.github.io/i18n-tests/results/css-text-shaping

My personal opinion is that text should not automatically connect with images, since the browser has no way of knowing whether or not that is appropriate – zwj should be used by the content author for the (probably vanishingly rare) occurrences where it should.  The spec text, however, doesn't seem to explicitly proscribe it.  Should it perhaps say something like " shaping must not be broken across inline box boundaries **with text on either side** when" (highlighted just to show the change)?

hth

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

Received on Thursday, 17 January 2019 17:05:32 UTC