Skip to content

Commit 5159802

Browse files
authored
[css-text-4] Clarify fonts without enough blank may not be trimmed (#9225)
* text-spacing-trim-give-up * frivoal review * Fix typo.
1 parent bd67da3 commit 5159802

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

css-text-4/Overview.bs

+7
Original file line numberDiff line numberDiff line change
@@ -10625,6 +10625,13 @@ Fullwidth Punctuation Collapsing</h4>
1062510625
the font has proportional ideographs
1062610626
and the fullwidth advance width cannot be reliably determined by measuring glyphs.
1062710627
10628+
Some fonts have fullwidth punctuation characters
10629+
whose blank are too small to trim (kern.)
10630+
UA may choose not to trim (kern)
10631+
when the UA determined the trimming (kerning) may cause
10632+
glyph cut-offs, collisions, or excessive kerning
10633+
through glyph bounding box, glyph metrics, or font features.
10634+
1062810635
If 'text-spacing-trim' is ''trim-all'',
1062910636
the UA must collapse the space typically associated with such full width glyphs
1063010637
regardless of the context in which they appear.

0 commit comments

Comments
 (0)