Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for Kai and Fangsong generic font families #587

Open
xfq opened this issue Dec 6, 2023 · 1 comment
Open

No support for Kai and Fangsong generic font families #587

xfq opened this issue Dec 6, 2023 · 1 comment
Labels
doc:clreq Used for gap analysis (only) to indicate target document. gap The first comment in this issue is read by the gap-analysis document. i:fonts Fonts & font styles l:zh Chinese p:basic s:hani Chinese script x:blink Blink needs to fix this. x:clreq This affects the clreq group of languages. x:gecko Gecko needs to fix this. x:webkit WebKit needs to fix this.

Comments

@xfq
Copy link
Member

xfq commented Dec 6, 2023

This issue is applicable to Chinese.

There are many font styles used in Chinese composition, but Song, Kai, Hei, and Fangsong are the most important ones.

The font-family CSS property should support generic family names for these font styles.

More:

The GAP

generic(kai) and generic(fangsong) are not supported by any major browser engine.

css-fonts-4 describes generic(kai) and generic(fangsong) in CSS.

Priority

The Kai and Fangsong generic font families significantly improves the fallback mechanism of Chinese websites and web applications. If the browsers does not support them, the differences expressed by the font styles won't appear (unless the author use web fonts, which is often too large). This was therefore marked as Basic.

Tests & results

Interactive test, font-family:generic(kai) will apply a Kai font in Chinese

Interactive test, font-family:generic(fangsong) will apply a Fangsong font in Chinese

Action taken

Issue, The Cursive = Chinese Kaiti equivalent Closed.

Browser bug reports: GeckoBlinkWebKit

Outcomes

tbd

@xfq xfq added gap The first comment in this issue is read by the gap-analysis document. doc:clreq Used for gap analysis (only) to indicate target document. x:blink Blink needs to fix this. x:gecko Gecko needs to fix this. x:webkit WebKit needs to fix this. x:clreq This affects the clreq group of languages. p:basic i:fonts Fonts & font styles labels Dec 6, 2023
@xfq
Copy link
Member Author

xfq commented Dec 6, 2023

The first comment in this issue contains text that will automatically appear in one or more gap-analysis documents as a subsection with the same title as this issue. Any edits made to that comment will be immediately available in the Editor's draft of the document. Proposals for changes or discussion of the content can be made by adding comments below this point.

Relevant gap analysis documents include: Chinese

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc:clreq Used for gap analysis (only) to indicate target document. gap The first comment in this issue is read by the gap-analysis document. i:fonts Fonts & font styles l:zh Chinese p:basic s:hani Chinese script x:blink Blink needs to fix this. x:clreq This affects the clreq group of languages. x:gecko Gecko needs to fix this. x:webkit WebKit needs to fix this.
Projects
None yet
Development

No branches or pull requests

2 participants