Re: [css-text] Shaping for break-all/word-break

On 03/08/2016 10:06 PM, Koji Ishii wrote:
>
> When break-all a word of 10 chars at 3:
> 1. Shape the 3 with the rest as text-after.
> 2. Shape the 3 without text-after.
> 3. Shape the 10, find glyphs that map to the 3 chars and use them.
>
> I think you're talking about the diff between 1 and 2, correct? Is 3 still differ from 1?
>
> If 1 and 3 are the same, it helps our efficiency a bit.

I think for the purpose of CSS, either #1 or #3 is acceptable.
For Arabic specifically (unsure of other scripts), analyzing
the string and applying zwj or zwnj to the string as appropriate
is also acceptable.

#2 is unacceptable.

~fantasai

Received on Thursday, 10 March 2016 03:02:12 UTC