@@ -1968,43 +1968,64 @@ <h4 id=vertical-orientations><span class=secno>5.1.1. </span> Vertical
19681968 < h4 id =vertical-font-features > < span class =secno > 5.1.2. </ span > Vertical
19691969 Typesetting and Font Features</ h4 >
19701970
1971- < p > When typesetting text in vertical writing modes ( ‘< a
1972- href =" #mixed-right " > < code class =css > mixed-right</ code > </ a > ’ and ‘< a
1973- href =" #upright " > < code class =css > upright</ code > </ a > ’) :
1971+ < p > When typesetting text in ‘< a href =" #mixed-right " > < code
1972+ class =css > mixed-right</ code > </ a > ’ and ‘< a href =" #upright " > < code
1973+ class =css > upright</ code > </ a > ’ orientations :
19741974
1975- < ul >
1976- < li > Upright characters are typeset with vertical font metrics. The UA must
1977- synthesize vertical font metrics for fonts that lack them. (This
1978- specification does not define heuristics for synthesizing such metrics.)
1979- Additionally, font features (such as alternate glyphs) intended for use
1980- in vertical typesetting must be used. (E.g. the OpenType ‘< code
1975+ < dl >
1976+ < dt > upright characters
1977+
1978+ < dd > Are typeset with vertical font metrics. The UA must synthesize
1979+ vertical font metrics for fonts that lack them. (This specification does
1980+ not define heuristics for synthesizing such metrics.) Additionally, font
1981+ features (such as alternate glyphs) intended for use in vertical
1982+ typesetting must be used. (E.g. the OpenType ‘< code
19811983 class =css > vert</ code > ’ feature must be enabled.) Furthermore,
19821984 characters from horizontal cursive scripts (such as Arabic) are shaped in
19831985 their isolated forms when typeset upright.
1984- < p > The one exception is for < a href ="#character "> < i > characters</ i > </ a >
1985- from the Mongolian and Phags-pa scripts, which in OpenType systems must
1986- always be rendered sideways (see below). This is because the "upright"
1987- orientation in the Unicode code charts and the "upright" orientation of
1988- the glyphs of these scripts in most OpenType fonts don't match.
1989-
1990- < li > Sideways characters are typeset with horizontal metrics, and vertical
1991- typesetting features are not used. However, if the font has features
1992- meant to be enabled for sideways text that is typeset in vertical lines
1993- (e.g. to adjust brush stroke angles or alignment), those features are
1994- used.
1995- < p class =issue > Propose ‘< code class =property > svrt</ code > ’ as an
1996- OpenType substitution feature that is applied to rotated horizontal text
1997- in vertical text runs, to handle these cases.
1998- </ ul >
1986+ < p class =note > Note that in OpenType systems, < a
1987+ href ="#character "> < i > characters</ i > </ a > from the Mongolian and Phags-pa
1988+ scripts must actually be rendered < a
1989+ href ="#typeset-sideways "> sideways</ a > . This is because the "upright"
1990+ orientation in the Unicode code charts (which assume vertical
1991+ typesetting) and the "upright" orientation of the glyphs of these
1992+ scripts in most OpenType fonts (which assume horizontal typesetting)
1993+ don't match.
1994+
1995+ < p class =note > Note that even when typeset "upright", some glyphs should
1996+ appear rotated. For example, dashes and enclosing punctuation (such as
1997+ 〈 LEFT ANGLE BRACKET U+3008) should be oriented relative to the inline
1998+ axis. In OpenType, this is typically handled by glyph substitution,
1999+ although not all fonts have alternate glyphs for all relevant
2000+ codepoints. (East Asian fonts usually provide alternates for East Asian
2001+ codepoints, but Western fonts typically lack any vertical typesetting
2002+ features.) Unicode published draft data on which < a
2003+ href ="#character "> < i > characters</ i > </ a > should appear sideways as the
2004+ SVO property in < a
2005+ href ="http://www.unicode.org/reports/tr50/tr50-6.Orientation.txt "> this
2006+ data file</ a > ; however, this property has been abandoned for future
2007+ revisions of < a href ="#UTR50 "
2008+ rel =biblioentry > [UTR50]<!--{{!UTR50}}--> </ a > .
2009+
2010+ < dt id =typeset-sideways > sideways characters
2011+
2012+ < dd > Are typeset with horizontal metrics, and vertical typesetting
2013+ features are not used. However, if the font has features meant to be
2014+ enabled for sideways text that is typeset in vertical lines (e.g. to
2015+ adjust brush stroke angles or alignment), those features are used.
2016+ <!--<p class="issue">Propose 'svrt' as an OpenType substitution feature
2017+ that is applied to rotated horizontal text in vertical text runs,
2018+ to handle these cases.-->
2019+ </ dl >
19992020
20002021 < p > All text in ‘< a href ="#sideways "> < code
20012022 class =css > sideways</ code > </ a > ’, ‘< a href ="#sideways-right "> < code
20022023 class =css > sideways-right</ code > </ a > ’, and ‘< a
2003- href ="#sideways-left "> < code class =css > sideways-left</ code > </ a > ’ modes is
2004- typeset using horizontal font metrics and the normal set of features used
2005- for horizontal text runs. Vertical metrics, vertical glyph variations, and
2006- any other features meant for text typeset in vertical lines are
2007- < em > not</ em > used.
2024+ href ="#sideways-left "> < code class =css > sideways-left</ code > </ a > ’
2025+ orientations is typeset using horizontal font metrics and the normal set
2026+ of features used for horizontal text runs. Vertical metrics, vertical
2027+ glyph variations, and any other features meant for text typeset in
2028+ vertical lines are < em > not</ em > used.
20082029
20092030 < p class =issue > This section needs additional work. Suggestions are welcome.
20102031 <!-- random notes
0 commit comments