- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 25 May 2011 02:59:13 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-writing-modes
In directory hutz:/tmp/cvs-serv8015
Modified Files:
Overview.html Overview.src.html
Log Message:
Move vertical typesetting rules to informative appendix
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-writing-modes/Overview.html,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -d -r1.141 -r1.142
--- Overview.html 25 May 2011 02:42:39 -0000 1.141
+++ Overview.html 25 May 2011 02:59:11 -0000 1.142
@@ -281,6 +281,9 @@
<li class=no-num><a href="#script-orientations">Appendix B:
Bi-orientational Transformations</a>
+ <li class=no-num><a href="#vertical-typesetting-details">Appendix C:
+ Character-level Rules for Vertical Typesetting</a>
+
<li class=no-num><a href="#intrinsic-sizing">Appendix D: Intrinsic
Dimensions</a>
<ul class=toc>
@@ -1692,111 +1695,23 @@
<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 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 East Asian fullwidth (F) and wide (W) characters upright (using
- vertical font settings if available).
-
- <p>Set East Asian halfwidth (H) characters using vertical font settings
- if available, else set them sideways.
-
- <p>Set any other characters that are assigned to a script (i.e. do not
- belong to the Common, Inherited, or Unknown scripts) according to the
- requirements above.
-
- <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.)
-
- <p>Set other characters as specified below.
-
- <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 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><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>Private Use characters (Co).
- </ul>
- Set the following characters sideways (i.e. rotated, using horizontal
- font settings).
- <ul>
- <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>Modifier Symbols (Sk) except the tone marks listed below.
- </ul>
- Set the following characters upright (i.e. translated, using vertical
- font settings if available):
- <ul>
- <li>Modifier Symbols (Sk) in the U+02E5–U+02EB range and in the
- Modifier Tone Letters block (U+A700–U+A716).
-
- <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'‘<code
- class=css></code>
-
- <dd>Set all characters upright unless otherwise specified above.
- </dl>
+ then the settings in <a href="#vertical-typesetting-details">Appendix
+ C</a> are recommended.
</ul>
- <p class=note>In OpenType, vertical font settings are provided by the
- <code>vhea</code>, <code>vmtx</code>, and <code>VORG</code> tables, as
- well as the <code>vert</code> and <code>vrt2</code> GSUB features. If any
- of these are present, the font is considered to have vertical font
- settings available.
-
<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=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>
+ 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.
<h3 id=abstract-dimensions><span class=secno>6.1. </span> Logical
Dimensions</h3>
@@ -1859,8 +1774,9 @@
<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 ’writing-mode', ‘<a
- href="#text-orientation0"><code
+ calculated directly from the values of the ‘<a
+ href="#writing-mode1"><code class=property>writing-mode</code></a>’,
+ ‘<a href="#text-orientation0"><code
class=property>text-orientation</code></a>’, and ‘<a
href="#direction0"><code class=property>direction</code></a>’
properties.
@@ -3070,6 +2986,109 @@
href="#text-orientation0"><code
class=property>text-orientation</code></a>’.
+ <h2 class=no-num id=vertical-typesetting-details>Appendix C:
+ Character-level Rules for Vertical Typesetting</h2>
+
+ <p><em>This appendix is non-normative.</em>
+
+ <p>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>’, the
+ following settings are recommended:
+
+ <ol>
+ <li>Set East Asian fullwidth (F) and wide (W) characters upright (using
+ vertical font settings if available).
+
+ <li>Set East Asian halfwidth (H) characters sideways (using vertical font
+ settings if possible).
+
+ <li>Set any other characters that are assigned to a script (i.e. do not
+ belong to the Common, Inherited, or Unknown scripts) <a
+ href="#vertical-typesetting">as required by ‘<code
+ class=property>text-orientation</code>’</a>.
+
+ <li>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.
+ <p class=note>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.</p>
+ </ol>
+
+ <p>When ‘<a href="#text-orientation0"><code
+ class=property>text-orientation</code></a>’ is ‘<a
+ href="#vertical-right"><code class=css>vertical-right</code></a>’,
+ the following settings are recommended for characters not
+ otherwise-specified above.
+
+ <ol>
+ <li>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><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>Private Use characters (Co).
+ </ul>
+
+ <li>Set the following characters sideways (i.e. rotated, using horizontal
+ font settings).
+ <ul>
+ <li>Currency Symbols (Sc) and Math Symbols (Sm).
+
+ <li><abbr title="U+10107–U+10133">Aegean numbers</abbr> and <abbr
+ title="U+A830–U+A835">North Indic fractions</abbr> from the Other
+ Number (No) category.
+
+ <li>All characters from the <abbr title="U+2500–U+257F">Box
+ Drawing</abbr>, <abbr title="U+2580–U+259F">Block Elements</abbr>,
+ and <abbr title="U+2190–U+21FF">Arrows</abbr> blocks.
+
+ <li>Other Symbols (So) from the Latin-1 Supplement and Letterlike
+ Symbols blocks.
+
+ <li>Modifier Symbols (Sk) except the tone marks listed below.
+ </ul>
+
+ <li>Set the following characters upright (i.e. translated, using vertical
+ font settings if available):
+ <ul>
+ <li>Modifier Symbols (Sk) in the U+02E5–U+02EB tone marks range and
+ those in the <abbr title="U+A700–U+A716">Modifier Tone Letters</abbr>
+ block.
+
+ <li>All Other Symbols (So) characters except unless otherwise specified
+ above
+
+ <li>All Other Numbers (No) characters except unless otherwise specified
+ above
+ </ul>
+
+ <li>Set all other characters sideways (i.e. rotated, using horizontal font
+ settings).
+ </ol>
+
+ <p>When ‘<a href="#text-orientation0"><code
+ class=property>text-orientation</code></a>’ is ‘<a
+ href="#vertical-right"><code class=css>vertical-right</code></a>’,
+ set all characters upright (using vertical font settings if available)
+ unless otherwise specified above.
+
+ <p class=note>In OpenType, vertical font settings are provided by the
+ <code>vhea</code>, <code>vmtx</code>, and <code>VORG</code> tables, as
+ well as the <code>vert</code> and <code>vrt2</code> GSUB features. If any
+ of these are present, the font is considered to have vertical font
+ settings available.
+
<h2 class=no-num id=intrinsic-sizing>Appendix D: Intrinsic Dimensions</h2>
<p><em>This section is normative.</em>
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-writing-modes/Overview.src.html,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- Overview.src.html 25 May 2011 02:42:39 -0000 1.148
+++ Overview.src.html 25 May 2011 02:59:11 -0000 1.149
@@ -1221,73 +1221,10 @@
<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 the following settings are recommended:
- <dl>
- <dt>when 'text-orientation' is either ''vertical-right'' or ''upright''
- <dd>
- <p>Set East Asian fullwidth (F) and wide (W) characters upright
- (using vertical font settings if available).
- <p>Set East Asian halfwidth (H) characters using vertical font
- settings if available, else set them sideways.
- <p>Set any other characters that are assigned to a script
- (i.e. do not belong to the Common, Inherited, or Unknown scripts)
- according to the requirements above.
- <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.)
- <p>Set other characters as specified below.
- <dt>when 'text-orientation' is ''vertical-right'</dt>
- <dd>
- 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><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</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).
- <ul>
- <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>Modifier Symbols (Sk) except the tone marks listed below.
- </ul>
- Set the following characters upright (i.e. translated,
- using vertical font settings if available):
- <ul>
- <li>Modifier Symbols (Sk) in the U+02E5–U+02EB range and
- in the Modifier Tone Letters block (U+A700–U+A716).
- <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 unless otherwise specified above.
- </dl>
+ then the settings in <a href="#vertical-typesetting-details">Appendix C</a>
+ are recommended.
</ul>
- <p class="note">In OpenType, vertical font settings are provided by the
- <code>vhea</code>, <code>vmtx</code>, and <code>VORG</code> tables,
- as well as the <code>vert</code> and <code>vrt2</code> GSUB features.
- If any of these are present, the font is considered to have vertical
- font settings available.
-
<h2 id="abstract-box">
Abstract Box Terminology</h2>
@@ -2270,6 +2207,86 @@
Authors can work around this lack of support with the ''rotate-left''
value of 'text-orientation'.
+<h2 id="vertical-typesetting-details" class="no-num">Appendix C:
+Character-level Rules for Vertical Typesetting</h2>
+
+ <p><em>This appendix is non-normative.</em></p>
+
+ <p>When 'text-orientation' is either ''vertical-right'' or ''upright'',
+ the following settings are recommended:
+
+ <ol>
+ <li>Set East Asian fullwidth (F) and wide (W) characters upright
+ (using vertical font settings if available).
+ <li>Set East Asian halfwidth (H) characters sideways (using vertical
+ font settings if possible).
+ <li>Set any other characters that are assigned to a script
+ (i.e. do not belong to the Common, Inherited, or Unknown scripts)
+ <a href="#vertical-typesetting">as required by 'text-orientation'</a>.
+ <li>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.
+ <p class="note">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.</p>
+ </ol>
+
+ <p>When 'text-orientation' is ''vertical-right'', the following settings
+ are recommended for characters not otherwise-specified above.
+ <ol>
+ <li>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><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</a>
+ from the Other Number (No) category.
+ <li>Private Use characters (Co).
+ </ul>
+ <li>Set the following characters sideways (i.e. rotated,
+ using horizontal font settings).
+ <ul>
+ <li>Currency Symbols (Sc) and Math Symbols (Sm).
+ <li><abbr title="U+10107–U+10133">Aegean numbers</abbr>
+ and <abbr title="U+A830–U+A835">North Indic fractions</abbr>
+ from the Other Number (No) category.
+ <li>All characters from the
+ <abbr title="U+2500–U+257F">Box Drawing</abbr>,
+ <abbr title="U+2580–U+259F">Block Elements</abbr>,
+ and <abbr title="U+2190–U+21FF">Arrows</abbr> blocks.
+ <li>Other Symbols (So) from the
+ Latin-1 Supplement and
+ Letterlike Symbols blocks.
+ <li>Modifier Symbols (Sk) except the tone marks listed below.
+ </ul>
+ <li>Set the following characters upright (i.e. translated,
+ using vertical font settings if available):
+ <ul>
+ <li>Modifier Symbols (Sk) in the U+02E5–U+02EB tone marks range and
+ those in the <abbr title="U+A700–U+A716">Modifier Tone Letters</abbr>
+ block.
+ <li>All Other Symbols (So) characters except unless
+ otherwise specified above
+ <li>All Other Numbers (No) characters except unless
+ otherwise specified above
+ </ul>
+ <li>Set all other characters sideways (i.e. rotated,
+ using horizontal font settings).
+ </ol>
+
+ <p>When 'text-orientation' is ''vertical-right'', set all characters
+ upright (using vertical font settings if available) unless
+ otherwise specified above.
+
+ <p class="note">In OpenType, vertical font settings are provided by the
+ <code>vhea</code>, <code>vmtx</code>, and <code>VORG</code> tables,
+ as well as the <code>vert</code> and <code>vrt2</code> GSUB features.
+ If any of these are present, the font is considered to have vertical
+ font settings available.
+
<h2 id="intrinsic-sizing" class="no-num">Appendix D:
Intrinsic Dimensions</h2>
Received on Wednesday, 25 May 2011 02:59:15 UTC