[csswg-drafts] [css-values] Comments on the ic unit (#8769)

xfq has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values] Comments on the ic unit ==
https://www.w3.org/TR/css-values-4/#ic

We discussed the ic unit at yesterday's Chinese Layout Task Force Teleconference. We found two issues about the current spec text:

First, the wording 'CJK letters' in the description is not accurate. We know that it doesn't affect the normative definition of the ic unit (which is the  advance measure of U+6C34), but we want the wording used here to be more accurate, because 'CJK letters' can be understood as one or several of:

* Han characters
* Hiragana
* Katakana
* Small kana
* Iteration marks
* Prolonged sound mark in Japanese
* CJK Strokes
* Hangul jamos and Hangul syllables

Second, we want the ic unit to have a fallback mechanism, since the water character (U+6C34) might not be included in the font subset. We noticed this sentence:

> In the cases where it is impossible or impractical to determine the ideographic advance measure, it must be assumed to be 1em.

but it doesn't explicitly state that this is a fallback mechanism, which we would like to clarify.

In addition, Hangul also has fixed width fonts. We already have ch and ic, but Korean may need a similar unit. This may need to be discussed with the klreq group.

Regarding the choice of the character (U+6C34 or something else), we have no strong preference, but if the CSSWG would like to choose it based on the character frequency, there are more common characters than the water character in both [Chinese](https://language.moe.gov.tw/001/Upload/files/SITE_CONTENT/M0001/PIN/biau1.htm?open) and [Japanese](https://www.bunka.go.jp/seisaku/bunkashingikai/kokugo/nihongokyoiku_hyojun_wg/04/pdf/91934501_08.pdf).

PS: Chinese, Japanese, and Korean do have some proportional width fonts, including condensed type, expanded type, and other kind of proportional width fonts. That said, we don't think people using this type of font need to use the ic unit, so we think it's fine.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8769 using your GitHub account


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

Received on Wednesday, 26 April 2023 09:01:20 UTC