- From: John Daggett via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 14 Oct 2011 00:38:16 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-fonts In directory hutz:/tmp/cvs-serv3874 Modified Files: Fonts.html Log Message: move ruby and ordinal to different subproperties Index: Fonts.html =================================================================== RCS file: /sources/public/csswg/css3-fonts/Fonts.html,v retrieving revision 1.67 retrieving revision 1.68 diff -u -d -r1.67 -r1.68 --- Fonts.html 12 Oct 2011 01:30:57 -0000 1.67 +++ Fonts.html 14 Oct 2011 00:38:13 -0000 1.68 @@ -111,14 +111,14 @@ <h1>CSS Fonts Module Level 3</h1> - <h2 class="no-num no-toc" id=editors>Editor's Draft 12 October 2011</h2> + <h2 class="no-num no-toc" id=editors>Editor's Draft 14 October 2011</h2> <dl id=authors> <dt>This version: <dd><a href="http://dev.w3.org/csswg/css3-fonts/">http://dev.w3.org/csswg/css3-fonts/</a> - <!-- <dd><a href="http://www.w3.org/TR/2011/ED-css3-fonts-20111012/">http://www.w3.org/TR/2011/ED-css3-fonts-20111012/</a> --> + <!-- <dd><a href="http://www.w3.org/TR/2011/ED-css3-fonts-20111014/">http://www.w3.org/TR/2011/ED-css3-fonts-20111014/</a> --> <dt>Latest version: @@ -325,8 +325,8 @@ the font-kerning property</a> <li><a href="#font-variant-position-prop"><span class=secno>6.4 - </span>Subscript, superscript and ordinal forms: the - font-variant-position property</a> + </span>Subscript and superscript forms: the font-variant-position + property</a> <li><a href="#font-variant-ligatures-prop"><span class=secno>6.5 </span>Ligatures: the font-variant-ligatures property</a> @@ -2601,10 +2601,11 @@ character-variant(<feature-value-name> [,<feature-value-name>]*) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || - annotation(<feature-value-name>) || ruby || <caps-value> || + annotation(<feature-value-name>) || <caps-value> || <numeric-figure-values> || <numeric-spacing-values> || - <numeric-fraction-values> || slashed-zero || - <east-asian-variant-values> || <east-asian-width-values> ] + <numeric-fraction-values> || ordinal || slashed-zero || + <east-asian-variant-values> || <east-asian-width-values> || + ruby ] <tr> <td><em>Initial:</em> @@ -3205,8 +3206,8 @@ spacing adjustments are made after kerning has been applied.</p> <!-- prop: font-variant-position --> - <h3 id=font-variant-position-prop><span class=secno>6.4 </span>Subscript, - superscript and ordinal forms: the <a + <h3 id=font-variant-position-prop><span class=secno>6.4 </span>Subscript + and superscript forms: the <a href="#propdef-font-variant-position">font-variant-position</a> property</h3> <table class=propdef id=namefont-variant-position> @@ -3219,7 +3220,7 @@ <tr> <td>Value: - <td>normal | sub | super | ordinal + <td>normal | sub | super <tr> <td>Initial: @@ -3256,10 +3257,10 @@ this name is a placeholder until the final name is resolved. <p>This property controls the selection of alternate glyphs for use as - subscripts, superscripts and ordinals. These alternate glyphs of reduced - size are positioned within the same em-box as the default glyph and - explicitly designed to match the surrounding text and make the them more - readable without affecting the linebox. + subscripts and superscripts. These alternate glyphs of reduced size are + positioned within the same em-box as the default glyph and explicitly + designed to match the surrounding text and make the them more readable + without affecting the linebox. <div class=figure><img alt="comparison between real subscript glyphs and synthesized ones" src=realsubscripts.png> @@ -3267,19 +3268,16 @@ (bottom) </div> - <p>The values ‘<code class=property>sub</code>’, ‘<code - class=property>super</code>’, and ‘<code - class=property>ordinal</code>’ imply the appropriate variant glyph is - displayed when available in the font (OpenType features: <code>subs, supr, - ordn</code>). Because of the semantic nature of subscripts and + <p>The values ‘<code class=property>sub</code>’ and ‘<code + class=property>super</code>’ imply the appropriate variant glyph is + displayed when available in the font (OpenType features: <code>subs, + supr</code>). Because of the semantic nature of subscripts and superscripts, when the value is either ‘<code class=property>sub</code>’ or ‘<code class=property>super</code>’ and a variant glyph is not available, a simulated glyph is synthesized - using a reduced form of the default glyph. If the value is ‘<code - class=property>ordinal</code>’ and a variant glyph is not available, the - normal glyph is used, no attempt is made to synthesize one. A value of - ‘<code class=property>normal</code>’ implies use of the default glyph - at normal size. + using a reduced form of the default glyph. A value of ‘<code + class=property>normal</code>’ implies use of the default glyph at normal + size. <p>In the case of OpenType fonts that lack subscript or superscript glyphs for a given character, to calculate the size and offset of the synthesized @@ -3619,7 +3617,7 @@ <td>normal | inherit | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || - slashed-zero ] + ordinal || slashed-zero ] <tr> <td>Initial: @@ -3717,6 +3715,11 @@ <div class=featex><img alt="stacked fraction example" src=afrc.png></div> <dl> + <dt><dfn id=ordinal>ordinal</dfn> + + <dd>Enables display of forms used with ordinal numbers (OpenType feature: + <code>ordn</code>). + <dt><dfn id=slashed-zero>slashed-zero</dfn> <dd>Enables display of slashed zeros (OpenType feature: @@ -3768,7 +3771,7 @@ character-variant(<feature-value-name> [,<feature-value-name>]*) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || - annotation(<feature-value-name>) || ruby ] + annotation(<feature-value-name>) ] <tr> <td>Initial: @@ -3919,18 +3922,6 @@ <div class=featex><img alt="alternate annotation form example" src=nalt.png></div> - <dl> - <dt><dfn id=ruby>ruby</dfn> - - <dd>Enables display of ruby variant glyphs (OpenType feature: - <code>ruby</code>). This value only selects a glyph for use in ruby text, - it does not affect font scaling. The red ruby text below is shown with - default glyphs (top) and with ruby variant glyphs (bottom). Note the - slight difference in stroke thickness. - </dl> - - <div class=featex><img alt="ruby variant example" src=rubyshinkansen.png></div> - <h3 id=font-feature-values><span class=secno>6.9 </span>Defining font specific alternates: the @font-feature-values rule</h3> @@ -4174,7 +4165,7 @@ <td>Value: <td>normal | inherit | [ <east-asian-variant-values> || - <east-asian-width-values> ] + <east-asian-width-values> || ruby ] <tr> <td>Initial: @@ -4273,6 +4264,21 @@ <div class=featex><img alt="proportionally spaced Japanese example" src=pwid.png></div> + <dl> + <dt><dfn id=ruby>ruby</dfn> + + <dd>Enables display of ruby variant glyphs (OpenType feature: + <code>ruby</code>). Since ruby text is generally smaller than the + associated body text, font designers can design special glyphs for use + with ruby that are more readable than scaled down versions of the default + glyphs. Only glyph selection is affected, there is no associated font + scaling or other change that affects line layout. The red ruby text below + is shown with default glyphs (top) and with ruby variant glyphs (bottom). + Note the slight difference in stroke thickness. + </dl> + + <div class=featex><img alt="ruby variant example" src=rubyshinkansen.png></div> + <h3 id=font-variant-prop><span class=secno>6.11 </span>Overall shorthand for font rendering: the <a href="#propdef-font-variant">font-variant</a> property</h3> @@ -4295,10 +4301,11 @@ character-variant(<feature-value-name> [,<feature-value-name>]*) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || - annotation(<feature-value-name>) || ruby || <caps-value> || + annotation(<feature-value-name>) || <caps-value> || <numeric-figure-values> || <numeric-spacing-values> || - <numeric-fraction-values> || slashed-zero || - <east-asian-variant-values> || <east-asian-width-values> ] + <numeric-fraction-values> || ordinal || slashed-zero || + <east-asian-variant-values> || <east-asian-width-values> || + ruby ] <tr> <td>Initial: @@ -5403,6 +5410,8 @@ <li>oldstyle-nums, <a href="#oldstyle-nums" title=oldstyle-nums><strong>6.7</strong></a> + <li>ordinal, <a href="#ordinal" title=ordinal><strong>6.7</strong></a> + <li>ornaments(<feature-value-name>), <a href="#ornamentsltfeature-value-namegt" title="ornaments(<feature-value-name>)"><strong>6.8</strong></a> @@ -5425,7 +5434,7 @@ title="<relative-size> definition of"><strong>3.5</strong></a> </ul> - <li>ruby, <a href="#ruby" title=ruby><strong>6.8</strong></a> + <li>ruby, <a href="#ruby" title=ruby><strong>6.10</strong></a> <li>sans-serif, definition of, <a href="#sans-serif0" title="sans-serif, definition of"><strong>#</strong></a> @@ -5674,10 +5683,11 @@ character-variant(<feature-value-name> [,<feature-value-name>]*) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || - annotation(<feature-value-name>) || ruby || <caps-value> || + annotation(<feature-value-name>) || <caps-value> || <numeric-figure-values> || <numeric-spacing-values> || - <numeric-fraction-values> || slashed-zero || - <east-asian-variant-values> || <east-asian-width-values> ] + <numeric-fraction-values> || ordinal || slashed-zero || + <east-asian-variant-values> || <east-asian-width-values> || + ruby ] <td>normal @@ -5697,9 +5707,9 @@ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name> [, <feature-value-name>]*) || character-variant(<feature-value-name> - [,<feature-value-name>;]*) || swash(<feature-value-name>) - || ornaments(<feature-value-name>) || - annotation(<feature-value-name>) || ruby ] + [,<feature-value-name>]*) || swash(<feature-value-name>) || + ornaments(<feature-value-name>) || + annotation(<feature-value-name>) ] <td>normal @@ -5732,7 +5742,7 @@ href="#propdef-font-variant-east-asian">font-variant-east-asian</a> <td>normal | inherit | [ <east-asian-variant-values> || - <east-asian-width-values> ] + <east-asian-width-values> || ruby ] <td>normal @@ -5767,7 +5777,7 @@ <td>normal | inherit | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || - slashed-zero ] + ordinal || slashed-zero ] <td>normal @@ -5783,7 +5793,7 @@ <th><a class=property href="#propdef-font-variant-position">font-variant-position</a> - <td>normal | sub | super | ordinal + <td>normal | sub | super <td>normal
Received on Friday, 14 October 2011 00:38:20 UTC