clreq icon indicating copy to clipboard operation
clreq copied to clipboard

No support for Kai and Fangsong generic font families

Open xfq opened this issue 2 years ago • 2 comments

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 avatar Dec 06 '23 03:12 xfq

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

xfq avatar Dec 06 '23 03:12 xfq