Re: [csswg-drafts] [css-ruby] Handling apostrophes in pinyin (#5997)

LOL, this is such a nice example. "Xian de dong xi" sounds like "something salty" in Chinese which is so different from "Xi'an de dong xi" (meaning "something from Xi'an"). Maybe the example of "xiandedongxi" is a different problem. But just look into "Xi'an".
Aside of meaning, I think if we write ruby like this way `<ruby><rb>西安</rb><rt>xi'an</rt></ruby><ruby>的</ruby><ruby><rb>东西</rb><rt>dongxi</rt></ruby>` (https://codepen.io/jeff_xu/pen/mdOxjqw). It should be fine for Chinese. The only thing is display is not good for easily reading. I don't find any layout spec for Chinese specifically (see here https://www.w3.org/TR/clreq/) but it looks similar as group ruby in Japanese requirement here (https://www.w3.org/TR/jlreq/#positioning_of_groupruby_with_respect_to_base_characters).

I really like this example and consideration. But I kind of feel we might need definition about how to display pinyin with apostrophes in better way instead of considering inject apostrophes.


-- 
GitHub Notification of comment by Jeffxz
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5997#issuecomment-787570981 using your GitHub account


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

Received on Monday, 1 March 2021 01:14:40 UTC