csswg-drafts icon indicating copy to clipboard operation
csswg-drafts copied to clipboard

[css-values-4][css-writing-modes-4] Revisit decision to use 永 instead of 水 as the ic unit

Open ziyunfei opened this issue 3 years ago • 56 comments

Chrome just implemented the ic unit this week, when I shared this news in Chinese social media, some people are confused about the chosen character 水(water), especially those people who had the handwriting practice experience, they think 永(forever; eternal) is the right choice.

See this Twitter thread: https://twitter.com/intenttoship/status/1555274307735285760

ziyunfei avatar Aug 06 '22 03:08 ziyunfei

quote https://en.wikipedia.org/wiki/Eight_Principles_of_Yong

It was traditionally believed that the frequent practice of these principles as a beginning calligrapher could ensure beauty in one's writing.

tiye avatar Aug 06 '22 03:08 tiye

See https://github.com/w3c/csswg-drafts/issues/2798

yisibl avatar Aug 06 '22 04:08 yisibl

If CSSWG agrees to this change, I can amend the relevant specification and WPT.

yisibl avatar Aug 06 '22 14:08 yisibl

See #2798

In particular, this comment https://github.com/w3c/csswg-drafts/issues/2798#issuecomment-398668398 says:

Writing Modes uses 水 as well (used when scaling down the tate-chu-yoko to 1em). If switching to 永, I kinda want to see two specs refer to the same character.

frivoal avatar Aug 06 '22 21:08 frivoal

And note also in #2798 that the reason we stuck with 水 rather than switching to 永 is solely because it would have been annoying to update Writing Modes, and in practice the two should be roughly identical in font coverage anyway.

But if people keep getting confused about it, it's probably worth going thru the effort of switching the character.

tabatkins avatar Aug 09 '22 18:08 tabatkins

Filed bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=1783937 https://crbug.com/1351509 https://bugs.webkit.org/show_bug.cgi?id=243746

ziyunfei avatar Aug 09 '22 20:08 ziyunfei

Using is the better choice cuz it is a standard of Asian calligraphy.

I promise almost every devloper in China, Japan, Korea would be confused while using as the unit of ic so please switch to to avoid this disaster.

VaJoy avatar Aug 09 '22 21:08 VaJoy

IMO using as the ic unit makes more sense in Chinese and also looks more professional.

gongpeione avatar Aug 10 '22 01:08 gongpeione

Although I'm not strongly against about it, I don't think it's worth the change to the specs and implementations.

https://github.com/w3c/csswg-drafts/issues/7577#issuecomment-1209711033

and in practice the two should be roughly identical in font coverage anyway.

Speaking of font coverage, they are not the same in web fonts. I don't know how things are going on in #3135 , but if ic requires implementations to download the font, then 永 (U+6C38) has higher chance to cause extra font download compared to 水 (U+6C34):

myakura avatar Aug 10 '22 02:08 myakura

IMO, using would be a more natural choice. I would be confused by and try to find out why, but not with . is the first thing to practice for properly Chinese handwriting cuz its structure, it's kind of common sense here.

Naeemo avatar Aug 10 '22 08:08 Naeemo

In fact, the is used in CSS Inline L3. It should also be modified to be consistent from the point of view of consistency of the specification.

The bounding box of 永 (U+6C38) can be used to find the ideographic character face edges. https://drafts.csswg.org/css-inline-3/#baseline-synthesis-fonts

yisibl avatar Aug 10 '22 10:08 yisibl

Is the issue here the belief that 水 was picked by accident because someone conflated it with 永?

@fantasai disconfirmed that in https://twitter.com/fantasai/status/1555385335663759360, and I wonder if the same issue would be raised if the chosen character was instead 口 or something.

I'm not a member of the CSSWG, but the fact that 永 is a kind of reference character in calligraphy doesn't by itself make it a good choice for the ic unit. The kind of analysis that @myakura did in https://github.com/w3c/csswg-drafts/issues/7577#issuecomment-1210082393 seems like a better ground for this kind of decision.

foolip avatar Aug 10 '22 10:08 foolip

@myakura @foolip

I'm sorry, but I don't endorse the reasons related to font slicing in Google Web Fonts.

The same problem would exist in the ch unit, which should be proposed to Google Fonts to change to put the characters that are CSS units (0 or ) further ahead.

I think #3135 about downloading fonts is a separate issue, not related to the proposal of this issue.


I'll reproduce Dr. Ken Lunde's(小林剣) suggestion from Twitter: https://twitter.com/ken_lunde/status/1555736774436986880

The reasons why U+6C38 永 is a near-ideal example in this context are because this ideograph 1) includes all of the basic stroke types; 2) is included in the most basic character set for each East Asian region; and 3) is rendered the same regardless of the East Asian region.

yisibl avatar Aug 10 '22 11:08 yisibl

A rather less technical question: Who decides how Chinese characters should be rendered? People who speak and understand Chinese, or those who don't?

nc7s avatar Aug 10 '22 14:08 nc7s

@bnoctis to be accurate, this character is also used by some other Asian countries although they do speak Chinese in daily life.

tiye avatar Aug 10 '22 17:08 tiye

@tiye To be accurate, CJK characters, which still holds, for people using CJK languages.

nc7s avatar Aug 10 '22 19:08 nc7s

Support rewriting to "永"

azbo avatar Aug 11 '22 00:08 azbo

Support rewriting to "永"

cxh194311 avatar Aug 11 '22 08:08 cxh194311

The word "永", more in line with Chinese culture then "水"

woeoio avatar Aug 11 '22 08:08 woeoio

As a chinese, I think 永 is way more representative compare to 水 due to its structure, etc. so I hope it is the best to change that.

vicdf avatar Aug 11 '22 10:08 vicdf

I agree with the above statement, support rewriting to "永"

dufemeng avatar Aug 11 '22 10:08 dufemeng

"永" is better.

aaron-ai avatar Aug 11 '22 11:08 aaron-ai

When used in calligraphy, "水" does not make any sense. "永" is the right choice for it represent the basic skills of calligraphy, "Eight Principles of Yong" https://en.wikipedia.org/wiki/Eight_Principles_of_Yong. Almost every calligrapher knows this as beginner. It is the essential sound of "mama/papa" to babies who are learning how to speak.

wlbksy avatar Aug 11 '22 11:08 wlbksy

I think "永" is better, too.

hingbong avatar Aug 11 '22 11:08 hingbong

I think "永" is better.

linrf avatar Aug 11 '22 11:08 linrf

"永" is better.

Rvtea avatar Aug 11 '22 11:08 Rvtea

Support rewriting to "永"

volcanicll avatar Aug 11 '22 11:08 volcanicll

Guys, please stop posting similar comments unless you have more informed thoughts. you can click the 👍🏻 button to vote on it.

ziyunfei avatar Aug 11 '22 11:08 ziyunfei

As a Chinese who has studied calligraphy, I know Eight Principles of Yong has extraordinary meaning. It is the basic skill of calligraphy. I believe every developer from China, Japan and Korea will support using instead of . If you know Chinese, even if you haven't learned calligraphy, You can also find that the character contains all eight Chinese strokes. So it can make more sense. What's more, as @bnoctis said, after all we are Chinese speakers, our culture should be respected and we should also decide how to render our characters. All in all, I support rewriting to . thanks.

DreamOneX avatar Aug 11 '22 11:08 DreamOneX

In most cases, 永 is the first example character of traditional ShuFa Art. And it also be the simplest example character of much fonts. Like 'n' in many Latin fonts. It is a good traditional custom.

bobwxc avatar Aug 11 '22 12:08 bobwxc

is better.

y122972 avatar Aug 11 '22 12:08 y122972

"永" is better. it is most familiar character of traditional Chinese Calligraphy Art. Support rewriting to "永"

weolar avatar Aug 11 '22 13:08 weolar