Skip to content

Commit 5e6008e

Browse files
committed
[css-text-4] Explicitly note that trimming can use halt or vhal features, and must not use hwid/halfwidth substitutions. w3c#535
1 parent 107e4be commit 5e6008e

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

css-text-4/Overview.bs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,9 +1080,17 @@ Fullwidth Punctuation Collapsing</h4>
10801080
if they are given full-width and must be set half-width, or
10811081
<li>
10821082
add space to the glyphs,
1083-
if they are given half-width must be set full-width.
1083+
if they are given half-width and must be set full-width.
10841084
</ul>
10851085

1086+
The UA <em>may</em> use the OpenType <code>halt</code> and <code>vhal</code> features
1087+
if implemented by a font
1088+
in order to perform the requisite trimming of a particular glyph.
1089+
The UA <em>must not</em> use the <code>hwid</code> feature
1090+
or otherwise substitute halfwidth forms
1091+
as switching to halfwidth glyphs can change the glyph shape
1092+
which is not acceptable here.
1093+
10861094
Some fonts use proportional glyphs for fullwidth punctuation characters.
10871095
For such proportional glyphs, the given advance width is considered
10881096
simultaneously full-width and half-width: no space is added or removed.

0 commit comments

Comments
 (0)