- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 10 May 2011 19:42:05 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-writing-modes In directory hutz:/tmp/cvs-serv25074 Modified Files: Overview.html Overview.src.html Log Message: A different approach to vertical typesetting synthesis Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-writing-modes/Overview.html,v retrieving revision 1.108 retrieving revision 1.109 diff -u -d -r1.108 -r1.109 --- Overview.html 10 May 2011 18:30:12 -0000 1.108 +++ Overview.html 10 May 2011 19:42:02 -0000 1.109 @@ -1684,41 +1684,81 @@ <li>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 it should handle symbols (S*) and punctuation (P*) as follows: - <ul> - <li>for ‘<a href="#vertical-right"><code - class=css>vertical-right</code></a>’, set all characters with an - East Asian Width property <a href="#UAX11" - rel=biblioentry>[UAX11]<!--{{!UAX11}}--></a> of fullwidth (F) or wide - (W) upright (i.e. translated, using vertical font settings if - available), and set all narrow (Na) and neutral (N) characters sideways - (i.e. rotated, using horizontal font settings). The behavior of most - ambiguous (A) symbols and punctuation is undefined in this version of - CSS. + then for characters belonging to the Common, Inherited, and Unknown + script categories the following settings are recommended: + <dl> + <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> - <li>for ‘<a href="#upright"><code - class=css>upright</code></a>’, set all characters belonging to - the Mongolian and Phags Pa scripts sideways, and set upright the rest. - </ul> - Additionally, spaces (Zs) should either be set upright if vertical - metrics are available or set sideways if they are not. Thus a - THREE-PER-EM SPACE (U+2004) will able to provide a 1/3-em advance in the - inline dimension. + <dd> Set the following characters upright (i.e. translated, using + vertical font settings if available): + <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>All characters outside the Latin-1 block (U+000–U+00FF) that + belong to the Other Symbols (So) category. + + <li>All characters that belong to the Other Number (No) category + except the superscripts and subscripts. <span class=issue>This + includes the North Indic Fractions and the Aegean numbers, is this + correct or should they be sideways?</span> + </ul> + Set the following characters sideways (i.e. rotated, using horizontal + 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) + </ul> + Set the following characters using vertical font settings if available, + otherwise set them sideways: + <ul> + <li>Other Punctuation (Po) with an East Asian Width property <a + href="#UAX11" rel=biblioentry>[UAX11]<!--{{!UAX11}}--></a> of + ambiguous (A). + + <li>Other Symbols (So) characters from the Latin-1 block + + <li>Superscripts and subscripts from the Other Number (No) category. + + <li>Private Use characters (Co) + </ul> + + <dt>when 'text-orientation' is ’upright'‘<code + class=css></code> + + <dd>Set all characters upright unless otherwise specified below. + </dl> + Additionally, spaces (Zs), dashes (Pd), connectors (Pc), and delimiting + punctuation (Ps, Pe, Pi, Pf) should either be set with vertical metrics / + alternates 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> <h2 id=abstract-box><span class=secno>6. </span> Abstract Box Terminology</h2> <p><a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> defines the box layout model of CSS in detail. However, it only defines the box - model for the ‘<a href="#horizontal-tb"><code - class=css>horizontal-tb</code></a>’ writing mode. CSS box layout in - writing modes other than ‘<a href="#horizontal-tb"><code - class=css>horizontal-tb</code></a>’ is analogous to the box layout - defined in CSS2.1 if directions and dimensions are abstracted and remapped - appropriately. This section defines abstract directional and dimensional - terms and their mappings in order to define box layout for other writing - modes, and to provide terminology for future specs to define their layout - concepts abstractly. + model for the ’‘<a href="#horizontal-tb"><code + class=property>horizontal-tb</code></a>’‘<code class=css> + writing mode. CSS box layout in writing modes other than + </code>’‘<a href="#horizontal-tb"><code + class=property>horizontal-tb</code></a>’‘<code class=css> is + analogous to the box layout defined in CSS2.1 if directions and dimensions + are abstracted and remapped appropriately. This section defines abstract + directional and dimensional terms and their mappings in order to define + box layout for other writing modes, and to provide terminology for future + specs to define their layout concepts abstractly. </code> <h3 id=abstract-dimensions><span class=secno>6.1. </span> Logical Dimensions</h3> @@ -1781,9 +1821,8 @@ <p>Although they derive from the behavior of text, these directional terms exist even for boxes that do not contain any line boxes: they are - calculated directly from the values of the ‘<a - href="#writing-mode1"><code class=property>writing-mode</code></a>’, - ‘<a href="#text-orientation0"><code + calculated directly from the values of the ’writing-mode', ‘<a + href="#text-orientation0"><code class=property>text-orientation</code></a>’, and ‘<a href="#direction0"><code class=property>direction</code></a>’ properties. @@ -2790,68 +2829,6 @@ h1, h2, h3, h4, h5, h6, { unicode-bidi: isolate; } </pre> - <!-- - -<h2 class="no-num" id="ambiguous">Appendix A: -Orienting Ambiguous Characters in ''vertical-right''</h2> - - <p>The synthesized ''vertical-right'' orientation of most symbols (S*) and - punctuation (P*) classified as ambiguous (A) by the East Asian Width - Property [[!UAX11]] is undefined in this version of CSS. - However, for some characters there are some exceptions, listed in the - table below: - - <p class="issue">Do we want to do this? Or leave them all undefined? Or make - these all sideways?</p> - - <table class="data"> - <caption>Unicode 6.0 Upright Characters</caption> - <thead> - <th>Codepoint(s) - <th>Sample - <th>Name(s) - </thead> - <tbody> - <tr><td>U+2103 <td> ℃ <td> DEGREE CELSIUS - <tr><td>U+2105 <td> ℅ <td> CARE OF - <tr><td>U+2109 <td> ℉ <td> DEGREE FAHRENHEIT - <tr><td>U+2113 <td> ℓ <td> SCRIPT SMALL L - <tr><td>U+2116 <td> № <td> NUMERO SIGN - <tr><td>U+2121 <td> ℡ <td> TELEPHONE SIGN - <tr><td>U+2122 <td> ™ <td> TRADE MARK SIGN - <tr><td>U+2126 <td> Ω <td> OHM SIGN - <tr><td>U+212B <td> Å <td> ANGSTROM SIGN - </tbody> - <tbody> - <tr><td>U+00BC–U+00BE <td> ¼–¾ <td> VULGAR FRACTION ONE QUARTER – THREE QUARTERS - <tr><td>U+2150–U+215F <td> ⅐–⅟ <td>VULGAR FRACTION ONE SEVENTH – FRACTION NUMERATOR ONE - <tr><td>U+2189 <td> ↉ <td> VULGAR FRACTION ZERO THIRDS - <tr><td>U+2160–U+216B <td> Ⅰ– Ⅻ <td> ROMAN NUMERAL ONE &ndash TWELVE - <tr><td>U+2170–2179 <td> ⅰ–ⅹ <td> SMALL ROMAN NUMERAL ONE – TEN - </tbody> - <tbody> - <tr><td>U+24EA <td> ⓪ <td> CIRCLED DIGIT ZERO - <tr><td>U+2460–U+2473 <td> ① –⑳ <td> CIRCLED DIGIT ONE – TWENTY - <tr><td>U+3251–U+325F <td> ㉑–㉟ <td> CIRCLED NUMBER TWENTY ONE – THIRTY FIVE - <tr><td>U+32B1–U+32BF <td> ㊱–㊿ <td> CIRCLED NUMBER THIRTY SIX – FIFTY - <tr><td>U+2474–U+2487 <td> ⑴–⒇ <td> PARENTHESIZED DIGIT ONE – TWENTY - <tr><td>U+1F100 <td> 🄀 <td> DIGIT ZERO FULL STOP - <tr><td>U+2488–U+249B <td> ⒈–⒛ <td> DIGIT ONE FULL STOP – NUMBER TWENTY FULL STOP - <tr><td>U+24F5–U+24FE <td> ⓵ –⓾ <td> DOUBLE CIRCLED DIGIT ONE – NUMBER TEN - <tr><td>U+2776–U+277F <td> ❶ – ❿ <td> DINGBAT NEGATIVE CIRCLED DIGIT ONE – TEN - <tr><td>U+24EB–U+24F4 <td> ⓫–⓴ <td> NEGATIVE CIRCLED NUMBER ELEVEN – TWENTY - <tr><td>U+24FF <td> ⓿ <td> NEGATIVE CIRCLED DIGIT ZERO - <tr><td>U+1F110–U+1F129 <td> 🄐–🄩 <td> PARENTHESIZED LATIN CAPITAL LETTER A – Z - <tr><td>U+249C–U+24B5 <td> ⒜–⒵ <td> PARENTHESIZED LATIN SMALL LETTER A – Z - <tr><td>U+24B6–U+24E9 <td> Ⓐ –ⓩ <td> CIRCLED LATIN CAPITAL LETTER A – SMALL LETTER Z - </tbody> - - <p class="issue">Any errors? Any other non-ambiguous orientations to add here?</p> - - <p>Characters belonging to categories other than punctuation and symbols - are discussed in <a href="#vertical-typesetting">Vertical Typesetting</a>. - ---> <h2 class=no-num id=script-orientations>Appendix B: Bi-orientational Transformations</h2> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-writing-modes/Overview.src.html,v retrieving revision 1.113 retrieving revision 1.114 diff -u -d -r1.113 -r1.114 --- Overview.src.html 10 May 2011 18:30:12 -0000 1.113 +++ Overview.src.html 10 May 2011 19:42:03 -0000 1.114 @@ -1223,21 +1223,52 @@ <li>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 it should handle symbols (S*) and punctuation (P*) as follows: - <ul> - <li>for ''vertical-right'', set all characters with an East Asian Width - property [[!UAX11]] of fullwidth (F) or wide (W) upright (i.e. - translated, using vertical font settings if available), and - set all narrow (Na) and neutral (N) characters sideways (i.e. rotated, - using horizontal font settings). The behavior of most ambiguous (A) - symbols and punctuation is undefined in this version of CSS. - <li>for ''upright'', set all characters belonging to the Mongolian and - Phags Pa scripts sideways, and set upright the rest. - </ul> - Additionally, spaces (Zs) should either be set upright if vertical - metrics are available or set sideways if they are not. Thus a - THREE-PER-EM SPACE (U+2004) will able to provide a 1/3-em advance in the - inline dimension. + then for characters belonging to the Common, Inherited, and Unknown + script categories the following settings are recommended: + <dl> + <dt>when 'text-orientation' is ''vertical-right'</dt> + <dd> + Set the following characters upright (i.e. translated, + using vertical font settings if available): + <ul> + <li>All characters with an East Asian Width property [[!UAX11]] + of fullwidth (F) or wide (W). + <li>All characters outside the Latin-1 block (U+000–U+00FF) + that belong to the Other Symbols (So) category. + <li>All characters that belong to the Other Number (No) category + except the superscripts and subscripts. + <span class="issue">This includes the North Indic Fractions and + the Aegean numbers, is this correct or should they be sideways?</span> + </ul> + Set the following characters sideways (i.e. rotated, + 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) + </ul> + Set the following characters using vertical font settings if + available, otherwise set them sideways: + <ul> + <li>Other Punctuation (Po) with an East Asian Width property [[!UAX11]] + of ambiguous (A). + <li>Other Symbols (So) characters from the Latin-1 block + <li>Superscripts and subscripts from the Other Number (No) + category. + <li>Private Use characters (Co) + </ul> + <dt>when 'text-orientation' is ''upright''</dt> + <dd>Set all characters upright unless otherwise specified below. + </dl> + Additionally, spaces (Zs), dashes (Pd), connectors (Pc), and + delimiting punctuation (Ps, Pe, Pi, Pf) + should either be set with vertical metrics / alternates 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> <h2 id="abstract-box"> @@ -2104,69 +2135,6 @@ { unicode-bidi: isolate; } </pre> -<!-- - -<h2 class="no-num" id="ambiguous">Appendix A: -Orienting Ambiguous Characters in ''vertical-right''</h2> - - <p>The synthesized ''vertical-right'' orientation of most symbols (S*) and - punctuation (P*) classified as ambiguous (A) by the East Asian Width - Property [[!UAX11]] is undefined in this version of CSS. - However, for some characters there are some exceptions, listed in the - table below: - - <p class="issue">Do we want to do this? Or leave them all undefined? Or make - these all sideways?</p> - - <table class="data"> - <caption>Unicode 6.0 Upright Characters</caption> - <thead> - <th>Codepoint(s) - <th>Sample - <th>Name(s) - </thead> - <tbody> - <tr><td>U+2103 <td> ℃ <td> DEGREE CELSIUS - <tr><td>U+2105 <td> ℅ <td> CARE OF - <tr><td>U+2109 <td> ℉ <td> DEGREE FAHRENHEIT - <tr><td>U+2113 <td> ℓ <td> SCRIPT SMALL L - <tr><td>U+2116 <td> № <td> NUMERO SIGN - <tr><td>U+2121 <td> ℡ <td> TELEPHONE SIGN - <tr><td>U+2122 <td> ™ <td> TRADE MARK SIGN - <tr><td>U+2126 <td> Ω <td> OHM SIGN - <tr><td>U+212B <td> Å <td> ANGSTROM SIGN - </tbody> - <tbody> - <tr><td>U+00BC–U+00BE <td> ¼–¾ <td> VULGAR FRACTION ONE QUARTER – THREE QUARTERS - <tr><td>U+2150–U+215F <td> ⅐–⅟ <td>VULGAR FRACTION ONE SEVENTH – FRACTION NUMERATOR ONE - <tr><td>U+2189 <td> ↉ <td> VULGAR FRACTION ZERO THIRDS - <tr><td>U+2160–U+216B <td> Ⅰ– Ⅻ <td> ROMAN NUMERAL ONE &ndash TWELVE - <tr><td>U+2170–2179 <td> ⅰ–ⅹ <td> SMALL ROMAN NUMERAL ONE – TEN - </tbody> - <tbody> - <tr><td>U+24EA <td> ⓪ <td> CIRCLED DIGIT ZERO - <tr><td>U+2460–U+2473 <td> ① –⑳ <td> CIRCLED DIGIT ONE – TWENTY - <tr><td>U+3251–U+325F <td> ㉑–㉟ <td> CIRCLED NUMBER TWENTY ONE – THIRTY FIVE - <tr><td>U+32B1–U+32BF <td> ㊱–㊿ <td> CIRCLED NUMBER THIRTY SIX – FIFTY - <tr><td>U+2474–U+2487 <td> ⑴–⒇ <td> PARENTHESIZED DIGIT ONE – TWENTY - <tr><td>U+1F100 <td> 🄀 <td> DIGIT ZERO FULL STOP - <tr><td>U+2488–U+249B <td> ⒈–⒛ <td> DIGIT ONE FULL STOP – NUMBER TWENTY FULL STOP - <tr><td>U+24F5–U+24FE <td> ⓵ –⓾ <td> DOUBLE CIRCLED DIGIT ONE – NUMBER TEN - <tr><td>U+2776–U+277F <td> ❶ – ❿ <td> DINGBAT NEGATIVE CIRCLED DIGIT ONE – TEN - <tr><td>U+24EB–U+24F4 <td> ⓫–⓴ <td> NEGATIVE CIRCLED NUMBER ELEVEN – TWENTY - <tr><td>U+24FF <td> ⓿ <td> NEGATIVE CIRCLED DIGIT ZERO - <tr><td>U+1F110–U+1F129 <td> 🄐–🄩 <td> PARENTHESIZED LATIN CAPITAL LETTER A – Z - <tr><td>U+249C–U+24B5 <td> ⒜–⒵ <td> PARENTHESIZED LATIN SMALL LETTER A – Z - <tr><td>U+24B6–U+24E9 <td> Ⓐ –ⓩ <td> CIRCLED LATIN CAPITAL LETTER A – SMALL LETTER Z - </tbody> - - <p class="issue">Any errors? Any other non-ambiguous orientations to add here?</p> - - <p>Characters belonging to categories other than punctuation and symbols - are discussed in <a href="#vertical-typesetting">Vertical Typesetting</a>. - ---> - <h2 class="no-num" id="script-orientations">Appendix B: Bi-orientational Transformations</h2>
Received on Tuesday, 10 May 2011 19:42:06 UTC