W3C home > Mailing lists > Public > www-style@w3.org > February 2014

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

From: Alan Stearns <stearns@adobe.com>
Date: Sat, 1 Feb 2014 15:40:58 +0000
To: MURAKAMI Shinyu <murakami@antenna.co.jp>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <CF1254A3.17FA0%stearns@adobe.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:18 UTC