Skip to content

Commit fe168a2

Browse files
committed
Edits to vertical font stuff, attepting to address <http://lists.w3.org/Archives/Public/www-style/2012Apr/0650.html>
1 parent e194fc0 commit fe168a2

2 files changed

Lines changed: 30 additions & 18 deletions

File tree

css3-writing-modes/Overview.html

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232

3333
<h1>CSS Writing Modes Module Level 3</h1>
3434

35-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 25 April 2012</h2>
35+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 26 April 2012</h2>
3636

3737
<dl>
3838
<dt>This version:
3939

4040
<dd><a
4141
href="http://dev.w3.org/csswg/css3-writing-modes/">http://dev.w3.org/csswg/css3-writing-modes/</a>
4242
<!--
43-
<dd><a href="http://www.w3.org/TR/2012/WD-css3-writing-modes-20120425/">http://www.w3.org/TR/2012/ED-css3-writing-modes-20120425/</a>
43+
<dd><a href="http://www.w3.org/TR/2012/WD-css3-writing-modes-20120426/">http://www.w3.org/TR/2012/ED-css3-writing-modes-20120426/</a>
4444
-->
4545

4646

@@ -1823,14 +1823,17 @@ <h3 id=text-orientation><span class=secno>5.1. </span> Orienting Text: the
18231823
<h4 id=vertical-font-features><span class=secno>5.1.1. </span> Applying
18241824
Vertical Font Features</h4>
18251825

1826-
<p>Vertical typesetting features such as vertical metrics and glyph
1827-
alternates are used to set upright characters in &lsquo;<a
1826+
<p>Vertical font metrics are used to set upright characters in &lsquo;<a
18281827
href="#mixed-right"><code class=css>mixed-right</code></a>&rsquo; and
18291828
&lsquo;<a href="#upright"><code class=css>upright</code></a>&rsquo; modes.
1830-
The UA must synthesize vertical font metrics for any such characters that
1831-
do not have any. (This specification does not define heuristics for
1832-
synthesizing such metrics.) Any shaping characters from horizontal scripts
1833-
that are typeset upright are shaped in their isolated forms.
1829+
The UA must synthesize vertical font metrics for fonts that lack them.
1830+
(This specification does not define heuristics for synthesizing such
1831+
metrics.) Additionally, font features (such as alternate glyphs) intended
1832+
for use in vertical typesetting must be used. (E.g. the OpenType
1833+
&lsquo;<code class=css>vert</code>&rsquo; feature must be enabled.)
1834+
1835+
<p>Characters from horizontal shaping scripts (such as Arabic) are shaped
1836+
in their isolated forms when typeset upright.
18341837

18351838
<p>For sideways characters in &lsquo;<a href="#mixed-right"><code
18361839
class=css>mixed-right</code></a>&rsquo; and &lsquo;<a
@@ -1843,9 +1846,13 @@ <h4 id=vertical-font-features><span class=secno>5.1.1. </span> Applying
18431846
class=css>sideways</code></a>&rsquo;, &lsquo;<a
18441847
href="#sideways-right"><code class=css>sideways-right</code></a>&rsquo;,
18451848
and &lsquo;<a href="#sideways-left"><code
1846-
class=css>sideways-left</code></a>&rsquo; modes, text is typeset with
1847-
horizontal font settings. Vertical metrics and glyph variants are
1848-
<em>not</em> used. <!-- random notes
1849+
class=css>sideways-left</code></a>&rsquo; modes, text is typeset using
1850+
horizontal font metrics and the normal set of features used for horizontal
1851+
text runs. Vertical metrics and vertical glyph variations are <em>not</em>
1852+
used.
1853+
1854+
<p class=issue>This section needs additional reworking. Suggestions are
1855+
welcome. <!-- random notes
18491856
Property to customize text-orientation (and line breaking class) of various
18501857
characters (yes, the name is horrible, we need a better one):
18511858
text-symbolize: latin ||

css3-writing-modes/Overview.src.html

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,21 +1288,26 @@ <h3 id="text-orientation">
12881288
<h4 id=vertical-font-features>
12891289
Applying Vertical Font Features</h4>
12901290

1291-
<p>Vertical typesetting features such as vertical metrics and glyph alternates
1291+
<p>Vertical font metrics
12921292
are used to set upright characters in ''mixed-right'' and ''upright'' modes.
1293-
The UA must synthesize vertical font metrics for any such characters
1294-
that do not have any.
1293+
The UA must synthesize vertical font metrics for fonts that lack them.
12951294
(This specification does not define heuristics for synthesizing such metrics.)
1296-
Any shaping characters from horizontal scripts that are typeset upright are
1297-
shaped in their isolated forms.
1295+
Additionally, font features (such as alternate glyphs) intended
1296+
for use in vertical typesetting must be used.
1297+
(E.g. the OpenType ''vert'' feature must be enabled.)
1298+
<p>Characters from horizontal shaping scripts (such as Arabic)
1299+
are shaped in their isolated forms when typeset upright.
12981300
<p>For sideways characters in ''mixed-right'' and ''upright'' modes, vertical
12991301
typesetting features are not used.
13001302
However, if the font has features or alternate metrics meant to be enabled
13011303
for sideways text that is typeset in vertical lines,
13021304
those features and tables are used.
13031305
<p>In the ''sideways'', ''sideways-right'', and ''sideways-left'' modes,
1304-
text is typeset with horizontal font settings. Vertical metrics and
1305-
glyph variants are <em>not</em> used.
1306+
text is typeset using horizontal font metrics and the normal set of features
1307+
used for horizontal text runs.
1308+
Vertical metrics and vertical glyph variations are <em>not</em> used.
1309+
1310+
<p class=issue>This section needs additional reworking. Suggestions are welcome.
13061311

13071312
<!-- random notes
13081313
Property to customize text-orientation (and line breaking class) of various

0 commit comments

Comments
 (0)