Re: [css-text] Shaping Isolation and Layout Separation of Inlines

On Mon, Aug 18, 2014 at 6:45 PM, John Daggett <jdaggett@mozilla.com> wrote:
> fantasai wrote:
>
>> I think there are three classes of guidelines here, actually:
>>
>>    1. Must not break shaping. (No style change case. You have no excuse.)
>>    2. Should not break shaping, if possible. YMMV depending on
>>       implementation/font technology. Less breakage = better.
>>    3. Must break shaping.
>>
>> And I think we should be able to give interoperable results
>> on 1 and 3.
>
> Yeah, I think this makes sense.
>
> There may cases here where shaping shouldn't break but the final presentation may be tricky. For example, color changes within a pair of characters that form a ligature. For this situation I don't think you can say anything other than implementations make a "best effort" to display something sensible. Gecko solves the color change by coloring 1/nth of the resulting ligature formed from n characters. Sorta works sometimes but calling this a hack is certainly fair. :)

Indeed, we agree here.  #2 will generally just fall under the "do the
best you can, within reason" clause.

~TJ

Received on Tuesday, 19 August 2014 02:33:20 UTC