[clreq] [WIP] The glyphs of punctuation marks do not match the requirements for Chinese text layout (#430)

xfq has just created a new issue for https://github.com/w3c/clreq:

== [WIP] The glyphs of punctuation marks do not match the requirements for Chinese text layout ==
<i class="meta">This issue applies to Chinese.</i>

The glyphs in some system fonts do not match the requirements for Chinese text layout.

Below are the problematic code points.

* `U+2E3A TWO-EM DASH[⸺]`
* `U+2014 EM DASH [—]`: it should be vertically centered. It is not vertically centered in Microsoft JhengHei and Microsoft YaHei.
* `U+2026 HORIZONTAL ELLIPSIS`: it should be vertically centered. It is not vertically centered in PingFang, Microsoft JhengHei, and Microsoft YaHei.
* `U+2013 EN DASH [–]` should be vertically centered. It is not vertically centered in Noto Sans TC/SC, Microsoft JhengHei, and Microsoft YaHei.
* `U+00B7 MIDDLE DOT [·]`: it should have the same dimensions as a Hanzi or take up half the space of a Hanzi. It does not in PingFang, Noto Sans TC/SC, Microsoft JhengHei, and Microsoft YaHei.

See also requirements in [clreq](https://www.w3.org/TR/clreq/#categories_and_usage_of_punctuation_marks).

<b class="subhead">Tests & results:</b>
Interactive test [U+2E3A TWO-EM DASH[⸺] will be vertically centered in Chinese](https://github.com/w3c/character_phrase_tests/issues/51)

It is not vertically centered in PingFang, Microsoft JhengHei, and Microsoft YaHei.

**[TODO: To add more tests]**

<b class="subhead">Priority:</b>
Given that a workaround is possible (i.e., changing the font), this is prioritised as an advanced issue.

Please view or discuss this issue at https://github.com/w3c/clreq/issues/430 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 January 2022 13:13:40 UTC