Re: [css-writing-modes] 9.1.3 Compression Rules

On 2/1/14, 2:33 AM, "MURAKAMI Shinyu" <murakami@antenna.co.jp> wrote:

>http://dev.w3.org/csswg/css-writing-modes/#text-combine-compression

>
>> Example 20 
>> For example, a simple OpenType-based implementation might compress
>> the text as follows:
>> 1. Enable 1/n-width glyphs for combined text of n characters.
>> (I.e. Use OpenType hwid for 2 characters, twid for 3 characters,
>> etc.) Note that the number of characters ≠ number of Unicode
>> codepoints! 
>> 2. Horizontally scale the result to 1em if it is not yet 1em or
>>narrower. 
>
>In this description, "or narrower" in the last sentence seems a mistake.
>Narrower text in tate-chu-yoko has no problem and should not scale to 1em,
>nor change to full-width glyph for 1 character.
>(Clarify n ≥ 2 in "Enable 1/n-width glyphs…")

Yes, the sentence is saying to not scale the result if it is already
narrower. Another way to phrase the sentence would be:

2. If the result is wider than 1em, scale the result to 1em.

My sentence and the sentence in the draft are exactly equivalent.

Thanks,

Alan

Received on Saturday, 1 February 2014 15:41:30 UTC