- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 25 May 2011 01:45:06 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-writing-modes In directory hutz:/tmp/cvs-serv2249 Modified Files: Overview.html Overview.src.html Log Message: Attempt to make vertical typesetting rules easier to follow. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-writing-modes/Overview.html,v retrieving revision 1.137 retrieving revision 1.138 diff -u -d -r1.137 -r1.138 --- Overview.html 25 May 2011 01:29:00 -0000 1.137 +++ Overview.html 25 May 2011 01:45:04 -0000 1.138 @@ -1693,43 +1693,47 @@ <p>If the UA needs to synthesize such features (e.g. if an OpenType font has only the <code>vert</code> but not the <code>vrt2</code> feature), then <strong>for characters belonging to the Common, Inherited, and - Unknown script categories</strong> the following settings are - recommended: + Unknown script categories that are neither <a href="#UAX11" + rel=biblioentry>[UAX11]<!--{{!UAX11}}--></a> halfwidth (H), fullwidth + (F), nor wide (W)</strong> the following settings are recommended: <dl> <dt>when ‘<a href="#text-orientation0"><code + class=property>text-orientation</code></a>’ is either ‘<a + href="#vertical-right"><code class=css>vertical-right</code></a>’ + or ‘<a href="#upright"><code class=css>upright</code></a>’ + + <dd> + <p>Set spaces (Zs), dashes (Pd), connectors (Pc), and bracketing + punctuation (Ps, Pe, Pi, Pf) either upright with vertical font + settings if available or sideways if they are not. (Thus a + THREE-PER-EM SPACE (U+2004) can be expected to provide a 1/3-em + advance in the inline dimension, and brackets can be expected to + encase their contents.) + + <dt>when ‘<a href="#text-orientation0"><code class=property>text-orientation</code></a>’ is ‘<a href="#vertical-right"><code class=css>vertical-right'</code></a> - <dd> Set the following characters upright (i.e. translated, using - vertical font settings if available): + <dd> Set the following characters using vertical font settings if + available, otherwise set them sideways: <ul> - <li>All characters with an East Asian Width property <a href="#UAX11" - rel=biblioentry>[UAX11]<!--{{!UAX11}}--></a> of fullwidth (F) or wide - (W). + <li>Other Punctuation (Po) with an East Asian Width property <a + href="#UAX11" rel=biblioentry>[UAX11]<!--{{!UAX11}}--></a> of + ambiguous (A). - <li>All Other Symbols (So) characters except those defined otherwise. + <li><abbr title="U+00B2, U+00B3, U+00B9, U+20070, + U+2074–U+2079">Superscripts</abbr>, <abbr + title="U+2080–U+2089">subscripts</abbr>, and non-Indic <abbr + title="U+00BC–U+00BE, U+2150–U+215F, U+2189">fractions from the + Other Number (No) category. </abbr> - <li>All characters that belong to the Other Number (No) category - except the <abbr title="U+00B2, U+00B3, U+00B9, U+20070, - U+2074–U+2079">superscripts</abbr>, <abbr - title="U+2080–U+2089">subscripts</abbr>, <abbr - title="U+10107–U+10133">Aegean numbers</abbr>, and <abbr - title="U+00BC–U+00BE, U+2150–U+215F, U+2189, - U+A830–U+A835">fractions</abbr>. + <li>Private Use characters (Co) </ul> Set the following characters sideways (i.e. rotated, using horizontal - font settings): + font settings). <ul> - <li>All characters with an East Asian Width property <a href="#UAX11" - rel=biblioentry>[UAX11]<!--{{!UAX11}}--></a> of narrow (Na). - - <li>All characters with an East Asian Width property <a href="#UAX11" - rel=biblioentry>[UAX11]<!--{{!UAX11}}--></a> of neutral (N) not - otherwise mentioned. - - <li>Currency Symbols (Sc) and Math Symbols (Sm), except those that are - fullwidth (F) or wide (W). + <li>Currency Symbols (Sc) and Math Symbols (Sm). <li>Aegean numbers (U+10107–U+10133) and North Indic fractions (U+A830–U+A835) from the Other Number (No) category. @@ -1740,32 +1744,23 @@ <li>Other Symbols (So) from the Latin-1 Supplement and Letterlike Symbols blocks </ul> - Set the following characters using vertical font settings if available, - otherwise set them sideways: + Set the following characters upright (i.e. translated, using vertical + font settings if available): <ul> - <li>Other Punctuation (Po) with an East Asian Width property <a - href="#UAX11" rel=biblioentry>[UAX11]<!--{{!UAX11}}--></a> of - ambiguous (A). - - <li>Superscripts, subscripts, and remaining fractions from the Other - Number (No) category. + <li>All Other Symbols (So) characters except those defined otherwise + above. - <li>Private Use characters (Co) + <li>All Other Numbers (No) characters except those defined otherwise + above. </ul> + Set all other characters sideways (i.e. rotated, using horizontal font + settings). <dt>when 'text-orientation' is ’upright'‘<code class=css></code> - <dd>Set all characters upright except those that have an East Asian - Width of halfwidth (H) or are otherwise specified below. + <dd>Set all characters upright unless otherwise specified above. </dl> - - <p>Additionally, spaces (Zs), dashes (Pd), connectors (Pc), bracketing - punctuation (Ps, Pe, Pi, Pf) should either be set with vertical font - settings if available or set sideways if they are not. Thus a - THREE-PER-EM SPACE (U+2004) can be expected to provide a 1/3-em advance - in the inline dimension, and brackets can be expected to encase their - contents. </ul> <p class=note>In OpenType, vertical font settings are provided by the Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-writing-modes/Overview.src.html,v retrieving revision 1.144 retrieving revision 1.145 diff -u -d -r1.144 -r1.145 --- Overview.src.html 25 May 2011 01:29:00 -0000 1.144 +++ Overview.src.html 25 May 2011 01:45:04 -0000 1.145 @@ -1222,59 +1222,55 @@ <li><p>If the UA needs to synthesize such features (e.g. if an OpenType font has only the <code>vert</code> but not the <code>vrt2</code> feature), then <strong>for characters belonging to the Common, Inherited, and Unknown - script categories</strong> the following settings are recommended: + script categories that are neither [[!UAX11]] halfwidth (H), fullwidth (F), + nor wide (W)</strong> the following settings are recommended: <dl> + <dt>when 'text-orientation' is either ''vertical-right'' or ''upright'' + <dd> + <p>Set spaces (Zs), dashes (Pd), connectors (Pc), and + bracketing punctuation (Ps, Pe, Pi, Pf) + either upright with vertical font settings if available + or sideways if they are not. + (Thus a THREE-PER-EM SPACE (U+2004) can be expected to provide a 1/3-em + advance in the inline dimension, and brackets can be expected to encase + their contents.) <dt>when 'text-orientation' is ''vertical-right'</dt> <dd> - Set the following characters upright (i.e. translated, - using vertical font settings if available): + Set the following characters using vertical font settings if + available, otherwise set them sideways: <ul> - <li>All characters with an East Asian Width property [[!UAX11]] - of fullwidth (F) or wide (W). - <li>All Other Symbols (So) characters except those defined - otherwise. - <li>All characters that belong to the Other Number (No) category - except the - <abbr title="U+00B2, U+00B3, U+00B9, U+20070, U+2074–U+2079">superscripts</abbr>, + <li>Other Punctuation (Po) with an East Asian Width property [[!UAX11]] + of ambiguous (A). + <li><abbr title="U+00B2, U+00B3, U+00B9, U+20070, U+2074–U+2079">Superscripts</abbr>, <abbr title="U+2080–U+2089">subscripts</abbr>, - <abbr title="U+10107–U+10133">Aegean numbers</abbr>, and - <abbr title="U+00BC–U+00BE, U+2150–U+215F, U+2189, U+A830–U+A835">fractions</abbr>. + and non-Indic <abbr title="U+00BC–U+00BE, U+2150–U+215F, U+2189">fractions</a> + from the Other Number (No) category. + <li>Private Use characters (Co) </ul> Set the following characters sideways (i.e. rotated, - using horizontal font settings): + using horizontal font settings). <ul> - <li>All characters with an East Asian Width property [[!UAX11]] - of narrow (Na). - <li>All characters with an East Asian Width property [[!UAX11]] - of neutral (N) not otherwise mentioned. - <li>Currency Symbols (Sc) and Math Symbols (Sm), except those - that are fullwidth (F) or wide (W). + <li>Currency Symbols (Sc) and Math Symbols (Sm). <li>Aegean numbers (U+10107–U+10133) and North Indic fractions (U+A830–U+A835) from the Other Number (No) category. <li id="rotate-drawing">All Box Drawing (U+2500–U+257F), Block Element (U+2580–U+259F), and Arrow (U+2190–U+21FF) characters - <li>Other Symbols (So) from the Latin-1 Supplement and Letterlike Symbols blocks + <li>Other Symbols (So) from the Latin-1 Supplement and + Letterlike Symbols blocks </ul> - Set the following characters using vertical font settings if - available, otherwise set them sideways: + Set the following characters upright (i.e. translated, + using vertical font settings if available): <ul> - <li>Other Punctuation (Po) with an East Asian Width property [[!UAX11]] - of ambiguous (A). - <li>Superscripts, subscripts, and remaining fractions from - the Other Number (No) category. - <li>Private Use characters (Co) + <li>All Other Symbols (So) characters except those defined + otherwise above. + <li>All Other Numbers (No) characters except those defined + otherwise above. </ul> + Set all other characters sideways (i.e. rotated, + using horizontal font settings). <dt>when 'text-orientation' is ''upright''</dt> - <dd>Set all characters upright except those that have an East Asian - Width of halfwidth (H) or are otherwise specified below. + <dd>Set all characters upright unless otherwise specified above. </dl> - <p>Additionally, spaces (Zs), dashes (Pd), connectors (Pc), - bracketing punctuation (Ps, Pe, Pi, Pf) - should either be set with vertical font settings if available - or set sideways if they are not. - Thus a THREE-PER-EM SPACE (U+2004) can be expected to provide a 1/3-em - advance in the inline dimension, and brackets can be expected to encase - their contents. </ul> <p class="note">In OpenType, vertical font settings are provided by the
Received on Wednesday, 25 May 2011 01:45:08 UTC