@@ -1822,36 +1822,45 @@ <h3 id=text-orientation><span class=secno>5.1. </span> Orienting Text: the
18221822 < h4 id =vertical-font-features > < span class =secno > 5.1.1. </ span > Vertical
18231823 Typesetting and Font Features</ h4 >
18241824
1825- < p > Vertical font metrics are used to set upright characters in ‘< a
1826- href ="#mixed-right "> < code class =css > mixed-right</ code > </ a > ’ and
1827- ‘< a href ="#upright "> < code class =css > upright</ code > </ a > ’ modes.
1828- The UA must synthesize vertical font metrics for fonts that lack them.
1829- (This specification does not define heuristics for synthesizing such
1830- metrics.) Additionally, font features (such as alternate glyphs) intended
1831- for use in vertical typesetting must be used. (E.g. the OpenType
1832- ‘< code class =css > vert</ code > ’ feature must be enabled.)
1833-
1834- < p > Characters from horizontal shaping scripts (such as Arabic) are shaped
1835- in their isolated forms when typeset upright.
1836-
1837- < p > For sideways characters in ‘< a href ="#mixed-right "> < code
1838- class =css > mixed-right</ code > </ a > ’ and ‘< a
1839- href ="#upright "> < code class =css > upright</ code > </ a > ’ modes, vertical
1840- typesetting features are not used. However, if the font has features meant
1841- to be enabled for sideways text that is typeset in vertical lines, those
1842- features and tables are used.
1843-
1844- < p > In the ‘< a href ="#sideways "> < code
1845- class =css > sideways</ code > </ a > ’, ‘< a
1846- href ="#sideways-right "> < code class =css > sideways-right</ code > </ a > ’,
1847- and ‘< a href ="#sideways-left "> < code
1848- class =css > sideways-left</ code > </ a > ’ modes, text is typeset using
1849- horizontal font metrics and the normal set of features used for horizontal
1850- text runs. Vertical metrics, vertical glyph variations, and any other
1851- features meant for text typeset in vertical lines are < em > not</ em > used.
1852-
1853- < p class =issue > This section needs additional reworking. Suggestions are
1854- welcome. <!-- random notes
1825+ < p > When typesetting text in vertical writing modes:
1826+
1827+ < ul >
1828+ < li > Upright characters in ‘< a href ="#mixed-right "> < code
1829+ class =css > mixed-right</ code > </ a > ’ and ‘< a
1830+ href ="#upright "> < code class =css > upright</ code > </ a > ’ modes are
1831+ typeset with vertical font metrics. The UA must synthesize vertical font
1832+ metrics for fonts that lack them. (This specification does not define
1833+ heuristics for synthesizing such metrics.) Additionally, font features
1834+ (such as alternate glyphs) intended for use in vertical typesetting must
1835+ be used. (E.g. the OpenType ‘< code class =css > vert</ code > ’
1836+ feature must be enabled.) Furthermore, characters from horizontal cursive
1837+ scripts (such as Arabic) are shaped in their isolated forms when typeset
1838+ upright.
1839+
1840+ < li > Sideways characters in ‘< a href ="#mixed-right "> < code
1841+ class =css > mixed-right</ code > </ a > ’ and ‘< a
1842+ href ="#upright "> < code class =css > upright</ code > </ a > ’ modes are
1843+ typeset with horizontal metrics, and vertical typesetting features are
1844+ not used. However, if the font has features meant to be enabled for
1845+ sideways text that is typeset in vertical lines (e.g. to adjust brush
1846+ stroke angles or alignment), those features are used.
1847+ < p class =issue > Propose ‘< code class =property > svrt</ code > ’ as
1848+ an OpenType substitution feature that is applied to rotated horizontal
1849+ text in vertical text runs, to handle these cases.
1850+
1851+ < li > All text in ‘< a href ="#sideways "> < code
1852+ class =css > sideways</ code > </ a > ’, ‘< a
1853+ href ="#sideways-right "> < code class =css > sideways-right</ code > </ a > ’,
1854+ and ‘< a href ="#sideways-left "> < code
1855+ class =css > sideways-left</ code > </ a > ’ modes is typeset using
1856+ horizontal font metrics and the normal set of features used for
1857+ horizontal text runs. Vertical metrics, vertical glyph variations, and
1858+ any other features meant for text typeset in vertical lines are
1859+ < em > not</ em > used.
1860+ </ ul >
1861+
1862+ < p class =issue > This section needs additional work. Suggestions are welcome.
1863+ <!-- random notes
18551864 Property to customize text-orientation (and line breaking class) of various
18561865 characters (yes, the name is horrible, we need a better one):
18571866 text-symbolize: latin ||
@@ -3743,10 +3752,6 @@ <h2 class=no-num id=vertical-typesetting-details>Appendix C: Vertical
37433752 responsibility of the font system. They do not determine categorization
37443753 or orientation.
37453754
3746- < p class =issue > Propose ‘< code class =property > svrt</ code > ’ as
3747- an OpenType substitution feature that is applied to rotated horizontal
3748- text in vertical text runs, to handle these cases.
3749-
37503755 < div class =note > This category is expected to include:
37513756 < ul >
37523757 < li > All East Asian fullwidth (F) and wide (W) characters except
0 commit comments