#[repr(u8)]pub enum TextSpacingClass {
Other = 0,
Open = 1,
Close = 2,
Middle = 3,
OpenNarrow = 4,
CloseNarrow = 5,
Dot = 6,
Colon = 7,
Semicolon = 8,
OpenQuote = 9,
CloseQuote = 10,
}Expand description
A character’s text-spacing class (CSS Text 4, section 8.5).
It says which full-width punctuation the character is, and so how
text-spacing-trim treats it beside other punctuation. Five classes
depend on the font: whether its dots and colons sit in the left half or
the middle of their em, and whether its curly quotes are full width.
Variants§
Other = 0
Not punctuation the rule reads.
Open = 1
A full-width opening bracket, drawn in the right half of its em.
Close = 2
A full-width closing bracket, drawn in the left half.
Middle = 3
A middle dot or the ideographic space, drawn in the middle.
OpenNarrow = 4
An opening bracket that is not full width.
CloseNarrow = 5
A closing bracket that is not full width.
Dot = 6
The ideographic and fullwidth comma and full stop.
Colon = 7
The fullwidth colon.
Semicolon = 8
The fullwidth semicolon.
OpenQuote = 9
U+2018 and U+201C.
CloseQuote = 10
U+2019 and U+201D.