Skip to content

Commit ba0f55b

Browse files
committed
[css3-writing-modes] Clarifications to vertical typesetting
1 parent 4111384 commit ba0f55b

2 files changed

Lines changed: 37 additions & 36 deletions

File tree

css3-writing-modes/Overview.html

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1948,6 +1948,16 @@ <h4 id=vertical-orientations><span class=secno>5.1.1. </span> Mixed
19481948
fall back to typesetting them sideways if the appropriate glyphs are
19491949
missing.
19501950

1951+
<p> In some systems (e.g. when using OpenType fonts), to correctly orient a
1952+
<a href="#character"><i>character</i></a> belonging to the Mongolian or
1953+
Phags-pa script upright, the UA must actually typeset it <a
1954+
href="#typeset-sideways">sideways</a>.
1955+
1956+
<p class=note>This is because the "upright" orientation in the Unicode code
1957+
charts (which assume vertical typesetting) and the "upright" orientation
1958+
of the glyphs of these scripts in most OpenType fonts (which assume
1959+
horizontal typesetting) don't match.
1960+
19511961
<p class=issue> As of the time of publication, Unicode has not yet
19521962
officially updated its orientation data to account for the many errata
19531963
that were accepted in June 2012. Therefore, the official UTR50 data
@@ -1966,14 +1976,14 @@ <h4 id=vertical-font-features><span class=secno>5.1.2. </span> Vertical
19661976
<dl>
19671977
<dt>upright characters
19681978

1969-
<dd> Are typeset with vertical font metrics. The UA must synthesize
1970-
vertical font metrics for fonts that lack them. (This specification does
1971-
not define heuristics for synthesizing such metrics.) Additionally, font
1972-
features (such as alternate glyphs) intended for use in vertical
1973-
typesetting must be used. (E.g. the OpenType ‘<code
1974-
class=css>vert</code>’ feature must be enabled.) Furthermore,
1975-
characters from horizontal cursive scripts (such as Arabic) are shaped in
1976-
their isolated forms when typeset upright.
1979+
<dd> Are typeset upright with vertical font metrics. The UA must
1980+
synthesize vertical font metrics for fonts that lack them. (This
1981+
specification does not define heuristics for synthesizing such metrics.)
1982+
Additionally, font features (such as alternate glyphs and other
1983+
transformation) intended for use in vertical typesetting must be used.
1984+
(E.g. the OpenType ‘<code class=css>vert</code>’ feature must be
1985+
enabled.) Furthermore, characters from horizontal cursive scripts (such
1986+
as Arabic) are shaped in their isolated forms when typeset upright.
19771987
<p class=note>Note that even when typeset "upright", some glyphs should
19781988
appear rotated. For example, dashes and enclosing punctuation (such as
19791989
〈 LEFT ANGLE BRACKET U+3008) should be oriented relative to the inline
@@ -1989,22 +1999,13 @@ <h4 id=vertical-font-features><span class=secno>5.1.2. </span> Vertical
19891999
revisions of <a href="#UTR50"
19902000
rel=biblioentry>[UTR50]<!--{{!UTR50}}--></a>.
19912001

1992-
<p> In some font systems (e.g. OpenType), to correctly render a <a
1993-
href="#character"><i>character</i></a> belonging to the Mongolian or
1994-
Phags-pa script upright, the UA must actually typeset it <a
1995-
href="#typeset-sideways">sideways</a>.
1996-
1997-
<p class=note>This is because the "upright" orientation in the Unicode
1998-
code charts (which assume vertical typesetting) and the "upright"
1999-
orientation of the glyphs of these scripts in most OpenType fonts (which
2000-
assume horizontal typesetting) don't match.
2001-
20022002
<dt id=typeset-sideways>sideways characters
20032003

2004-
<dd> Are typeset with horizontal metrics, and vertical typesetting
2005-
features are not used. However, if the font has features meant to be
2006-
enabled for sideways text that is typeset in vertical lines (e.g. to
2007-
adjust brush stroke angles or alignment), those features are used.
2004+
<dd> Are typeset rotated 90° sideways with horizontal metrics, and
2005+
vertical typesetting features are not used. However, if the font has
2006+
features meant to be enabled for sideways text that is typeset in
2007+
vertical lines (e.g. to adjust brush stroke angles or alignment), those
2008+
features are used.
20082009
<!--<p class="issue">Propose 'svrt' as an OpenType substitution feature
20092010
that is applied to rotated horizontal text in vertical text runs,
20102011
to handle these cases.-->

css3-writing-modes/Overview.src.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,16 @@ <h4 id='vertical-orientations'>
13681368
alternately it may check for such glyphs first,
13691369
and fall back to typesetting them sideways if the appropriate glyphs are missing.
13701370

1371+
<p>
1372+
In some systems (e.g. when using OpenType fonts),
1373+
to correctly orient a <i>character</i> belonging to the Mongolian or Phags-pa script upright,
1374+
the UA must actually typeset it <a href="#typeset-sideways">sideways</a>.
1375+
<p class="note">This is because the "upright" orientation
1376+
in the Unicode code charts (which assume vertical typesetting)
1377+
and the "upright" orientation of the glyphs of these scripts
1378+
in most OpenType fonts (which assume horizontal typesetting)
1379+
don't match.
1380+
13711381
<p class='issue'>
13721382
As of the time of publication,
13731383
Unicode has not yet officially updated its orientation data to account for the many errata that were accepted in June 2012.
@@ -1384,11 +1394,11 @@ <h4 id='vertical-font-features'>
13841394
<dl>
13851395
<dt>upright characters
13861396
<dd>
1387-
Are typeset with vertical font metrics.
1397+
Are typeset upright with vertical font metrics.
13881398
The UA must synthesize vertical font metrics for fonts that lack them.
13891399
(This specification does not define heuristics for synthesizing such metrics.)
1390-
Additionally, font features (such as alternate glyphs) intended
1391-
for use in vertical typesetting must be used.
1400+
Additionally, font features (such as alternate glyphs and other transformation)
1401+
intended for use in vertical typesetting must be used.
13921402
(E.g. the OpenType ''vert'' feature must be enabled.)
13931403
Furthermore, characters from horizontal cursive scripts (such as Arabic)
13941404
are shaped in their isolated forms when typeset upright.
@@ -1404,19 +1414,9 @@ <h4 id='vertical-font-features'>
14041414
Unicode published draft data on which <i>characters</i> should appear sideways
14051415
as the SVO property in <a href="http://www.unicode.org/reports/tr50/tr50-6.Orientation.txt">this data file</a>;
14061416
however, this property has been abandoned for future revisions of [[!UTR50]].
1407-
<p>
1408-
In some font systems (e.g. OpenType),
1409-
to correctly render a <i>character</i> belonging to the Mongolian or Phags-pa script upright,
1410-
the UA must actually typeset it <a href="#typeset-sideways">sideways</a>.
1411-
<p class="note">This is because the "upright" orientation
1412-
in the Unicode code charts (which assume vertical typesetting)
1413-
and the "upright" orientation of the glyphs of these scripts
1414-
in most OpenType fonts (which assume horizontal typesetting)
1415-
don't match.
1416-
14171417
<dt id='typeset-sideways'>sideways characters
14181418
<dd>
1419-
Are typeset with horizontal metrics,
1419+
Are typeset rotated 90&deg; sideways with horizontal metrics,
14201420
and vertical typesetting features are not used.
14211421
However, if the font has features meant to be enabled
14221422
for sideways text that is typeset in vertical lines

0 commit comments

Comments
 (0)