Expand description
Vertical text orientation utilities — basic UAX #50 subset.
Determines whether a Unicode codepoint should be rendered upright (CJK-style, keeping its standard orientation) or rotated 90° clockwise when used in top-to-bottom vertical text.
Structs§
- Vertical
Metrics - Vertical-layout metrics for a single glyph.
Functions§
- is_
upright_ in_ vertical - Returns
trueifcshould be drawn upright in vertical text. - vmtx_
advance_ for_ glyph - Returns the scaled vertical advance for
glyph_idfrom the font’svmtxtable. Falls back toem_sizeif the face cannot be parsed, thevmtxtable is absent, or the glyph has no explicit vertical advance.