- From: Kevin Hsieh via GitHub <sysbot+gh@w3.org>
- Date: Fri, 18 Aug 2017 17:58:05 +0000
- To: public-css-archive@w3.org
I'd agree with keeping language as a part of generic font selection and even adding it as a `@font-face` descriptor since CJK makes per-character codepoint-based selection difficult: - CJK have partially intersecting character sets, so without taking language into account, we may get text made up of a variety of fonts even though it's all in the same language. - Even if a single font contains faces for all the characters in some text, that font may not be for the correct language. (A single codepoint can map to different variants of a character depending on the language, and this is reflected in fonts.) For example, if we don't specify `lang`, the last character in this Japanese text is clearly rendered with a Chinese font in Chrome and Safari: ![image](https://user-images.githubusercontent.com/19560595/29470800-a1213264-8402-11e7-830b-60eed0b13a9b.png) (and Firefox has the opposite problem). -- GitHub Notification of comment by kahsieh Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1736#issuecomment-323420545 using your GitHub account
Received on Friday, 18 August 2017 17:58:04 UTC