- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 20 Apr 2011 01:59:58 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-text
In directory hutz:/tmp/cvs-serv9704
Modified Files:
Overview.html Overview.src.html
Log Message:
Add 'none' and 'space-adjacent' values to 'text-spacing'. Shuffle around some prose to make it flow better
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.html,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- Overview.html 20 Apr 2011 00:49:20 -0000 1.113
+++ Overview.html 20 Apr 2011 01:59:56 -0000 1.114
@@ -89,7 +89,7 @@
<dt>This version:
<dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
- 2011/04/19 18:25:14 $ (CVS $Revision$)</a> <!--
+ 2011/04/20 00:49:23 $ (CVS $Revision$)</a> <!--
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110420/">http://www.w3.org/TR/2011/WD-css3-text-20110420/</a></dd>
-->
@@ -3539,8 +3539,9 @@
<tr>
<th>Value:
- <td>normal | trim-start || [ trim-end | space-end ] || no-justify ||
- ideograph-alpha || ideograph-numeric || punctuation
+ <td>normal | none | trim-start || [ trim-end | space-end ] ||
+ space-adjacent || no-justify || ideograph-alpha || ideograph-numeric ||
+ punctuation
<tr>
<th>Initial:
@@ -3573,10 +3574,14 @@
<td>specified value
</table>
- <p>This property controls spacing between adjacent characters within the
- same inline formatting context using a set of character-class-based rules.
- Such spacing can either be created between or trimmed from the affected
- glyphs. Values are defined as follows:
+ <p>This property controls spacing between adjacent characters on the same
+ line within the same inline formatting context using a set of
+ character-class-based rules. Such spacing can either be created between or
+ trimmed from the affected glyphs. Values other than ‘<code
+ class=css>normal</code>’ and ‘<code
+ class=css>none</code>’ modify (override) the baseline behavior
+ defined for ‘<code class=css>normal</code>’. Values are
+ defined as follows:
<dl>
<dt><dfn id=normal5 title="text-spacing:normal">normal</dfn>
@@ -3584,6 +3589,14 @@
<dd>Specifies the baseline behavior (defined below).
<!-- Equivalent to ''space-start allow-end justify'' -->
+ <dt><dfn id=none3 title="text-spacing:none">none</dfn>
+
+ <dt>
+
+ <dd>Turns off all text-spacing features. All fullwidth characters are set
+ at full width. <span class=issue>Should this value include ‘<code
+ class=css>no-justify</code>’ behavior?</span>
+
<dt><dfn id=trim-start title="text-spacing:trim-start">trim-start</dfn>
<dd>Set fullwidth opening punctuation flush at the start of each line. The
@@ -3592,7 +3605,7 @@
<dt><dfn title="text-spacing:space-start">space-start</dfn></dt>
<dd>Set fullwidth opening punctuation at full width at the start
of each line. The UA must blank space to fullwidth
- punctuation if they are not already full width.
+ punctuation glyphs if they are not already full width.
-->
<!--
<dt><dfn title="text-spacing:allow-end">allow-end</dfn></dt>
@@ -3611,29 +3624,33 @@
<dt><dfn id=space-end title="text-spacing:space-end">space-end</dfn>
<dd>Set fullwidth opening punctuation at full width at the start of each
- line. The UA must add blank space to fullwidth punctuation if they are
- not already full width.
+ line. The UA must add blank space to fullwidth punctuation glyphs if they
+ are not already full width.
+
+ <dt><dfn id=space-adjacent
+ title="text-spacing:space-adjacent">space-adjacent</dfn>
+
+ <dd>Set fullwidth opening punctuation at full width when not at the start
+ of the line. Set fullwidth closing punctuation at full width when not at
+ the end of the line. The UA must add blank space to such fullwidth
+ punctuation glyphs if they are not already full width.
<dt><dfn id=ideograph-alpha
title="text-spacing:ideograph-alpha">ideograph-alpha</dfn>
<dd>Creates 1/4em extra spacing between runs of ideographic letters and
non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or
- Hebrew. Unless ‘<code class=css>no-justify</code>’ is also
- specified, this autospacing may be altered by the justification process.
- <span class=note>A commonly used algorithm for determining this behavior
- is specified in <a href="#JLREQ"
+ Hebrew. <span class=note>A commonly used algorithm for determining this
+ behavior is specified in <a href="#JLREQ"
rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a></span>
<dt><dfn id=ideograph-numeric
title="text-spacing:ideograph-numeric">ideograph-numeric</dfn>
<dd>Creates 1/4em extra spacing between runs of ideographic letters and
- non-ideographic numeric glyphs. Unless ‘<code
- class=css>no-justify</code>’ is also specified, this autospacing
- may be altered by the justification process. <span class=note>A commonly
- used algorithm for determining this behavior is specified in <a
- href="#JLREQ" rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a></span>
+ non-ideographic numeric glyphs. <span class=note>A commonly used
+ algorithm for determining this behavior is specified in <a href="#JLREQ"
+ rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a></span>
<dt><dfn id=punctuation title="text-spacing:punctuation">punctuation</dfn>
@@ -3649,10 +3666,10 @@
<dt><dfn id=no-justify title="text-spacing:no-justify">no-justify</dfn>
<dd>Justification may not alter text-spacing. (If this value is not
- specified, the justification process may alter autospacing.) <span
- class=note> An example of compression rules is given for Japanese in 3.8
- Line Adjustment in <a href="#JLREQ"
- rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a>.</span>
+ specified, the justification process may alter autospacing except when
+ the spacing is at the start or end of the line.) <span class=note> An
+ example of compression rules is given for Japanese in 3.8 Line Adjustment
+ in <a href="#JLREQ" rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a>.</span>
</dl>
<p>In the baseline behavior the UA must:
@@ -3660,101 +3677,40 @@
<ul>
<li>Set fullwidth opening punctuation at full width at the start of each
line. (This can require adding space to punctuation glyphs.) This
- behavior can be overridden by specifying ‘<code
- class=css>trim-start</code>’.
+ behavior is overridden when ‘<code
+ class=css>trim-start</code>’ is specified.
<li>Set fullwidth closing punctuation flush at the end of each line if it
does not otherwise fit prior to justification. (This can require trimming
- the blank half of fullwidth punctuation glyphs.) This behavior can be
- overridden by specifying ‘<code class=css>space-end</code>’
- or ‘<code class=css>trim-end</code>’.
+ the blank half of fullwidth punctuation glyphs.) This behavior is
+ overridden when ‘<code class=css>trim-end</code>’ or
+ ‘<code class=css>space-end</code>’ is specified.
<li>Set fullwidth opening punctuation at half width if the previous
character is a fullwidth opening punctuation, fullwidth middle dot
punctuation, fullwidth closing punctuation, or ideographic space
- (U+3000). Else set it at full width and, unless ‘<code
- class=css>no-justify</code>’ is specified, allow justification to
- alter this spacing.
+ (U+3000). Else set it at full width. This behavior is overridden when
+ ‘<code class=css>space-adjacent</code>’ is specified.
<li>Set fullwidth closing punctuation at half width if the previous
character is a fullwidth closing punctuation, fullwidth middle dot
- punctuation, or ideographic space (U+3000). Else set it at full width
- and, unless ‘<code class=css>no-justify</code>’ is specified,
- allow justification to alter this spacing.
+ punctuation, or ideographic space (U+3000). Else set it at full width.
+ This behavior is overridden when ‘<code
+ class=css>space-adjacent</code>’ is specified.
</ul>
- <p>Depending on the font system, text-spacing may require either trimming
- (kerning) the blank half of fullwidth punctuation glyphs (if they must be
- set flush / at half width), or adding 1/2em of space to the glyphs (if
- they must be set at full width). When set at full width
-
- <div class=example>
- <p>The following example table lists the punctuation pairs affected by
- adjancent-pairs trimming. It uses halfwidth equivalents to approximate
- the trimming effect.</p>
-
- <table class=data>
- <caption>Demonstration of adjacent-pairs punctuation trimming</caption>
-
- <thead>
- <tr>
- <th>Combination
-
- <th>Sample Pair
-
- <th>Looks Like
-
- <tbody>
- <tr>
- <th>Opening—Opening
-
- <td><tt class=char lang=ja>〔</tt>+<tt class=char lang=ja>(</tt>
-
- <td><tt class=char lang=ja>〔</tt><tt class=char lang=ja>(</tt>
-
- <tr>
- <th>Middle Dot—Opening
-
- <td><tt class=char lang=ja>・</tt>+<tt class=char lang=ja>(</tt>
-
- <td><tt class=char lang=ja>・</tt><tt class=char lang=ja>(</tt>
-
- <tr>
- <th>Closing—Opening
-
- <td><tt class=char lang=ja>〕</tt>+<tt class=char lang=ja>(</tt>
-
- <td><tt class=char lang=ja>〕</tt><tt class=char lang=ja>(</tt>
-
- <tr>
- <th>Ideographic Space—Opening
-
- <td><tt class=char lang=ja> </tt>+<tt class=char lang=ja>(</tt>
-
- <td><tt class=char lang=ja> </tt><tt class=char lang=ja>(</tt>
-
- <tr>
- <th>Closing—Closing
-
- <td><tt class=char lang=ja>)</tt>+<tt class=char lang=ja>〕</tt>
-
- <td><tt class=char lang=ja>)</tt><tt class=char lang=ja>〕</tt>
-
- <tr>
- <th>Closing—Middle Dot
-
- <td><tt class=char lang=ja>)</tt>+<tt class=char lang=ja>・</tt>
-
- <td><tt class=char lang=ja>)</tt><tt class=char lang=ja>・</tt>
-
- <tr>
- <th>Closing—Ideographic Space
+ <p>A fullwidth glyph is one that has the same advance width as a typical
+ Han character in the same font. Typically fullwidth characters have
+ fullwidth glyphs, but depending on the font system, text-spacing may
+ require either:
- <td><tt class=char lang=ja>)</tt>+<tt class=char lang=ja> </tt>
+ <ul>
+ <li>trimming (kerning) the blank half of fullwidth glyphs if they must be
+ set flush / at half width, or
- <td><tt class=char lang=ja>)</tt><tt class=char lang=ja> </tt>
- </table>
- </div>
+ <li>adding space (typically 1/2em) to half-width glyphs if they must be
+ set at full width.
+ </ul>
<p>In the context of this property the following definitions apply:
@@ -3847,10 +3803,73 @@
</ul>
</dl>
- <p>Fullwidth punctuation must not be trimmed if the glyph is not actually
- fullwidth. This includes the case where the glyph is not fullwidth as a
- result of the kerning in the font. A fullwidth glyph is one that has the
- same advance width as a typical Han character in the same font.
+ <div class=example>
+ <p>The following example table lists the punctuation pairs affected by
+ adjancent-pairs trimming. It uses halfwidth equivalents to approximate
+ the trimming effect.</p>
+
+ <table class=data>
+ <caption>Demonstration of adjacent-pairs punctuation trimming</caption>
+
+ <thead>
+ <tr>
+ <th>Combination
+
+ <th>Sample Pair
+
+ <th>Looks Like
+
+ <tbody>
+ <tr>
+ <th>Opening—Opening
+
+ <td><tt class=char lang=ja>〔</tt>+<tt class=char lang=ja>(</tt>
+
+ <td><tt class=char lang=ja>〔</tt><tt class=char lang=ja>(</tt>
+
+ <tr>
+ <th>Middle Dot—Opening
+
+ <td><tt class=char lang=ja>・</tt>+<tt class=char lang=ja>(</tt>
+
+ <td><tt class=char lang=ja>・</tt><tt class=char lang=ja>(</tt>
+
+ <tr>
+ <th>Closing—Opening
+
+ <td><tt class=char lang=ja>〕</tt>+<tt class=char lang=ja>(</tt>
+
+ <td><tt class=char lang=ja>〕</tt><tt class=char lang=ja>(</tt>
+
+ <tr>
+ <th>Ideographic Space—Opening
+
+ <td><tt class=char lang=ja> </tt>+<tt class=char lang=ja>(</tt>
+
+ <td><tt class=char lang=ja> </tt><tt class=char lang=ja>(</tt>
+
+ <tr>
+ <th>Closing—Closing
+
+ <td><tt class=char lang=ja>)</tt>+<tt class=char lang=ja>〕</tt>
+
+ <td><tt class=char lang=ja>)</tt><tt class=char lang=ja>〕</tt>
+
+ <tr>
+ <th>Closing—Middle Dot
+
+ <td><tt class=char lang=ja>)</tt>+<tt class=char lang=ja>・</tt>
+
+ <td><tt class=char lang=ja>)</tt><tt class=char lang=ja>・</tt>
+
+ <tr>
+ <th>Closing—Ideographic Space
+
+ <td><tt class=char lang=ja>)</tt>+<tt class=char lang=ja> </tt>
+
+ <td><tt class=char lang=ja>)</tt><tt class=char lang=ja> </tt>
+ </table>
+ </div>
<p>Whether fullwidth colon punctuation and fullwidth dot punctuation should
be considered fullwidth closing punctuation or fullwidth middle dot
@@ -4169,7 +4188,7 @@
<p>Values have the following meanings:
<dl>
- <dt><dfn id=none3 title="hanging-punctuation:none"><code>none</code></dfn>
+ <dt><dfn id=none4 title="hanging-punctuation:none"><code>none</code></dfn>
<dd>No characters can hang.
@@ -4410,7 +4429,7 @@
Values have the following meanings:
<dl>
- <dt><dfn id=none4 title="text-decoration-line:none">none</dfn>
+ <dt><dfn id=none5 title="text-decoration-line:none">none</dfn>
<dd>Neither produces nor inhibits text decoration.
@@ -4693,7 +4712,7 @@
drawn by its ancestors. Values have the following meanings:
<dl>
- <dt><dfn id=none5 title="text-decoration-skip:none">none</dfn>
+ <dt><dfn id=none6 title="text-decoration-skip:none">none</dfn>
<dd>Skip nothing: text-decoration is drawn for all text content and for
inline replaced elements.
@@ -4912,7 +4931,7 @@
the following meanings:
<dl>
- <dt><dfn id=none6 title="text-emphasis:none"><code>none</code></dfn>
+ <dt><dfn id=none7 title="text-emphasis:none"><code>none</code></dfn>
<dd>No emphasis marks.
@@ -6460,8 +6479,9 @@
<tr valign=baseline>
<td><a class=property href="#text-spacing">text-spacing</a>
- <td>normal | trim-start || [ trim-end | space-end ] || no-justify ||
- ideograph-alpha || ideograph-numeric || punctuation
+ <td>normal | none | trim-start || [ trim-end | space-end ] ||
+ space-adjacent || no-justify || ideograph-alpha ||
+ ideograph-numeric || punctuation
<td>normal
@@ -6687,7 +6707,7 @@
<li>hanging-punctuation:force-end, <a href="#force-end"
title="hanging-punctuation:force-end"><strong>10.2.</strong></a>
- <li>hanging-punctuation:none, <a href="#none3"
+ <li>hanging-punctuation:none, <a href="#none4"
title="hanging-punctuation:none"><strong>10.2.</strong></a>
<li>hyphenate-character, <a href="#hyphenate-character0"
@@ -6826,7 +6846,7 @@
<li>text-decoration-line, <a href="#text-decoration-line0"
title=text-decoration-line><strong>11.1.1.</strong></a>
- <li>text-decoration-line:none, <a href="#none4"
+ <li>text-decoration-line:none, <a href="#none5"
title="text-decoration-line:none"><strong>11.1.1.</strong></a>
<li>text-decoration-skip, <a href="#text-decoration-skip0"
@@ -6838,7 +6858,7 @@
<li>text-decoration-skip:ink, <a href="#ink"
title="text-decoration-skip:ink"><strong>11.1.5.</strong></a>
- <li>text-decoration-skip:none, <a href="#none5"
+ <li>text-decoration-skip:none, <a href="#none6"
title="text-decoration-skip:none"><strong>11.1.5.</strong></a>
<li>text-decoration-skip:objects, <a href="#objects"
@@ -6877,7 +6897,7 @@
<li>text-emphasis:left, <a href="#left0"
title="text-emphasis:left"><strong>11.2.4.</strong></a>
- <li>text-emphasis:none, <a href="#none6"
+ <li>text-emphasis:none, <a href="#none7"
title="text-emphasis:none"><strong>11.2.1.</strong></a>
<li>text-emphasis:open, <a href="#open"
@@ -6945,12 +6965,18 @@
<li>text-spacing:no-justify, <a href="#no-justify"
title="text-spacing:no-justify"><strong>9.3.</strong></a>
+ <li>text-spacing:none, <a href="#none3"
+ title="text-spacing:none"><strong>9.3.</strong></a>
+
<li>text-spacing:normal, <a href="#normal5"
title="text-spacing:normal"><strong>9.3.</strong></a>
<li>text-spacing:punctuation, <a href="#punctuation"
title="text-spacing:punctuation"><strong>9.3.</strong></a>
+ <li>text-spacing:space-adjacent, <a href="#space-adjacent"
+ title="text-spacing:space-adjacent"><strong>9.3.</strong></a>
+
<li>text-spacing:space-end, <a href="#space-end"
title="text-spacing:space-end"><strong>9.3.</strong></a>
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.src.html,v
retrieving revision 1.211
retrieving revision 1.212
diff -u -d -r1.211 -r1.212
--- Overview.src.html 20 Apr 2011 00:49:23 -0000 1.211
+++ Overview.src.html 20 Apr 2011 01:59:56 -0000 1.212
@@ -2614,9 +2614,10 @@
</tr>
<tr>
<th>Value:</th>
- <td>normal |
+ <td>normal | none |
trim-start ||
[ trim-end | space-end ] ||
+ space-adjacent ||
no-justify ||
ideograph-alpha ||
ideograph-numeric ||
@@ -2650,17 +2651,23 @@
</tbody>
</table>
- <p>This property controls spacing between adjacent characters
- within the same inline formatting context using a set of
+ <p>This property controls spacing between adjacent characters on the
+ same line within the same inline formatting context using a set of
character-class-based rules.
Such spacing can either be created between or trimmed from the
affected glyphs.
+ Values other than ''normal'' and ''none'' modify (override)
+ the baseline behavior defined for ''normal''.
Values are defined as follows:</p>
<dl>
<dt><dfn title="text-spacing:normal">normal</dfn></dt>
<dd>Specifies the baseline behavior (defined below).
<!-- Equivalent to ''space-start allow-end justify'' -->
+ <dt><dfn title="text-spacing:none">none</dfn><dt>
+ <dd>Turns off all text-spacing features. All fullwidth characters
+ are set at full width.
+ <span class="issue">Should this value include ''no-justify'' behavior?</span>
<dt><dfn title="text-spacing:trim-start">trim-start</dfn></dt>
<dd>Set fullwidth opening punctuation flush at the start of each
line. The UA must trim the blank half of fullwidth punctuation
@@ -2669,7 +2676,7 @@
<dt><dfn title="text-spacing:space-start">space-start</dfn></dt>
<dd>Set fullwidth opening punctuation at full width at the start
of each line. The UA must blank space to fullwidth
- punctuation if they are not already full width.
+ punctuation glyphs if they are not already full width.
-->
<!--
<dt><dfn title="text-spacing:allow-end">allow-end</dfn></dt>
@@ -2685,21 +2692,23 @@
<dt><dfn title="text-spacing:space-end">space-end</dfn></dt>
<dd>Set fullwidth opening punctuation at full width at the start
of each line. The UA must add blank space to fullwidth
- punctuation if they are not already full width.</dd>
+ punctuation glyphs if they are not already full width.</dd>
+ <dt><dfn title="text-spacing:space-adjacent">space-adjacent</dfn></dt>
+ <dd>Set fullwidth opening punctuation at full width when not at the
+ start of the line. Set fullwidth closing punctuation at full width
+ when not at the end of the line. The UA must add blank space to
+ such fullwidth punctuation glyphs if they are not already full
+ width.
<dt><dfn title="text-spacing:ideograph-alpha">ideograph-alpha</dfn></dt>
<dd>Creates 1/4em extra spacing between runs of ideographic letters and
non-ideographic letters, such as Latin-based, Cyrillic, Greek,
Arabic or Hebrew.
- Unless ''no-justify'' is also specified, this autospacing may
- be altered by the justification process.
<span class="note">A commonly used algorithm for determining this
behavior is specified in [[JLREQ]]</span>
</dd>
<dt><dfn title="text-spacing:ideograph-numeric">ideograph-numeric</dfn></dt>
<dd>Creates 1/4em extra spacing between runs of ideographic letters and
non-ideographic numeric glyphs.
- Unless ''no-justify'' is also specified, this autospacing may
- be altered by the justification process.
<span class="note">A commonly used algorithm for determining this
behavior is specified in [[JLREQ]]</span>
</dd>
@@ -2714,7 +2723,8 @@
may add automatic spacing behavior for other languages.
<dt><dfn title="text-spacing:no-justify">no-justify</dfn></dt>
<dd>Justification may not alter text-spacing. (If this value is not
- specified, the justification process may alter autospacing.)
+ specified, the justification process may alter autospacing except
+ when the spacing is at the start or end of the line.)
<span class="note">
An example of compression rules is given for Japanese in
3.8 Line Adjustment in [[JLREQ]].</span>
@@ -2725,70 +2735,35 @@
<ul>
<li>Set fullwidth opening punctuation at full width at the start
of each line. (This can require adding space to punctuation glyphs.)
- This behavior can be overridden by specifying ''trim-start''.
+ This behavior is overridden when ''trim-start'' is specified.
<li>Set fullwidth closing punctuation flush at the end of each
line if it does not otherwise fit prior to justification.
(This can require trimming the blank half of fullwidth punctuation
- glyphs.) This behavior can be overridden by specifying ''space-end''
- or ''trim-end''.
+ glyphs.)
+ This behavior is overridden when ''trim-end'' or ''space-end''
+ is specified.
<li>Set fullwidth opening punctuation at half width if the previous
character is a fullwidth opening punctuation, fullwidth middle dot
punctuation, fullwidth closing punctuation, or ideographic space
- (U+3000). Else set it at full width and, unless ''no-justify'' is
- specified, allow justification to alter this spacing.
+ (U+3000). Else set it at full width.
+ This behavior is overridden when ''space-adjacent'' is specified.
<li>Set fullwidth closing punctuation at half width if the previous
character is a fullwidth closing punctuation, fullwidth middle dot
punctuation, or ideographic space (U+3000). Else set it at full
- width and, unless ''no-justify'' is specified, allow justification
- to alter this spacing.
+ width.
+ This behavior is overridden when ''space-adjacent'' is specified.
</ul>
- <p>Depending on the font system, text-spacing may require either
- trimming (kerning) the blank half of fullwidth punctuation glyphs
- (if they must be set flush / at half width), or adding 1/2em of
- space to the glyphs (if they must be set at full width). When set
- at full width</p>
-
- <div class="example">
- <p>The following example table lists the punctuation pairs affected by
- adjancent-pairs trimming. It uses halfwidth equivalents to approximate
- the trimming effect.</p>
- <table class="data">
- <caption>Demonstration of adjacent-pairs punctuation trimming</caption>
- <thead>
- <tr><th>Combination</th> <th>Sample Pair</th> <th>Looks Like</th>
- </thead>
-
- <tbody>
- <tr><th>Opening—Opening</th>
- <td><tt lang="ja" class="char">〔</tt>+<tt lang="ja" class="char">(</tt>
- <td><tt lang="ja" class="char">〔</tt><tt lang="ja" class="char">(</tt>
- <tr><th>Middle Dot—Opening</th>
-
- <td><tt lang="ja" class="char">・</tt>+<tt lang="ja" class="char">(</tt>
- <td><tt lang="ja" class="char">・</tt><tt lang="ja" class="char">(</tt>
- <tr><th>Closing—Opening</th>
- <td><tt lang="ja" class="char">〕</tt>+<tt lang="ja" class="char">(</tt>
-
- <td><tt lang="ja" class="char">〕</tt><tt lang="ja" class="char">(</tt>
- <tr><th>Ideographic Space—Opening</th>
- <td><tt lang="ja" class="char"> </tt>+<tt lang="ja" class="char">(</tt>
- <td><tt lang="ja" class="char"> </tt><tt lang="ja" class="char">(</tt>
-
- <tr><th>Closing—Closing</th>
- <td><tt lang="ja" class="char">)</tt>+<tt lang="ja" class="char">〕</tt>
- <td><tt lang="ja" class="char">)</tt><tt lang="ja" class="char">〕</tt>
- <tr><th>Closing—Middle Dot</th>
-
- <td><tt lang="ja" class="char">)</tt>+<tt lang="ja" class="char">・</tt>
- <td><tt lang="ja" class="char">)</tt><tt lang="ja" class="char">・</tt>
- <tr><th>Closing—Ideographic Space</th>
- <td><tt lang="ja" class="char">)</tt>+<tt lang="ja" class="char"> </tt>
-
- <td><tt lang="ja" class="char">)</tt><tt lang="ja" class="char"> </tt>
- </tbody>
- </table>
- </div>
+ <p>A fullwidth glyph is one that has the same advance width as a
+ typical Han character in the same font. Typically fullwidth characters
+ have fullwidth glyphs, but depending on the font system, text-spacing
+ may require either:
+ <ul>
+ <li>trimming (kerning) the blank half of fullwidth glyphs if they
+ must be set flush / at half width, or
+ <li>adding space (typically 1/2em) to half-width glyphs if they
+ must be set at full width.
+ </ul>
<p>In the context of this property the following definitions apply:</p>
<p class="issue">classes and Unicode code point should be reviewed.</p>
@@ -2852,10 +2827,46 @@
</dd>
</dl>
- <p>Fullwidth punctuation must not be trimmed if the glyph is not actually
- fullwidth. This includes the case where the glyph is not fullwidth
- as a result of the kerning in the font. A fullwidth glyph is one that
- has the same advance width as a typical Han character in the same font.</p>
+ <div class="example">
+ <p>The following example table lists the punctuation pairs affected by
+ adjancent-pairs trimming. It uses halfwidth equivalents to approximate
+ the trimming effect.</p>
+ <table class="data">
+ <caption>Demonstration of adjacent-pairs punctuation trimming</caption>
+ <thead>
+ <tr><th>Combination</th> <th>Sample Pair</th> <th>Looks Like</th>
+ </thead>
+
+ <tbody>
+ <tr><th>Opening—Opening</th>
+ <td><tt lang="ja" class="char">〔</tt>+<tt lang="ja" class="char">(</tt>
+ <td><tt lang="ja" class="char">〔</tt><tt lang="ja" class="char">(</tt>
+ <tr><th>Middle Dot—Opening</th>
+
+ <td><tt lang="ja" class="char">・</tt>+<tt lang="ja" class="char">(</tt>
+ <td><tt lang="ja" class="char">・</tt><tt lang="ja" class="char">(</tt>
+ <tr><th>Closing—Opening</th>
+ <td><tt lang="ja" class="char">〕</tt>+<tt lang="ja" class="char">(</tt>
+
+ <td><tt lang="ja" class="char">〕</tt><tt lang="ja" class="char">(</tt>
+ <tr><th>Ideographic Space—Opening</th>
+ <td><tt lang="ja" class="char"> </tt>+<tt lang="ja" class="char">(</tt>
+ <td><tt lang="ja" class="char"> </tt><tt lang="ja" class="char">(</tt>
+
+ <tr><th>Closing—Closing</th>
+ <td><tt lang="ja" class="char">)</tt>+<tt lang="ja" class="char">〕</tt>
+ <td><tt lang="ja" class="char">)</tt><tt lang="ja" class="char">〕</tt>
+ <tr><th>Closing—Middle Dot</th>
+
+ <td><tt lang="ja" class="char">)</tt>+<tt lang="ja" class="char">・</tt>
+ <td><tt lang="ja" class="char">)</tt><tt lang="ja" class="char">・</tt>
+ <tr><th>Closing—Ideographic Space</th>
+ <td><tt lang="ja" class="char">)</tt>+<tt lang="ja" class="char"> </tt>
+
+ <td><tt lang="ja" class="char">)</tt><tt lang="ja" class="char"> </tt>
+ </tbody>
+ </table>
+ </div>
<p>Whether fullwidth colon punctuation and fullwidth dot punctuation should
be considered fullwidth closing punctuation or fullwidth middle dot
Received on Wednesday, 20 April 2011 02:00:04 UTC