No support for Kai and Fangsong generic font families
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 809
- Forks
- 66
- Avg merge
- 19m
- Merged PRs (30d)
- 1
Description
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: Gecko • Blink 1 • Blink 2 • WebKit
Platform Status: Blink
Outcomes
tbd
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the CSS Fonts 4 generic font-families section and running the two linked interactive tests for Kai and Fangsong. Compare the Gecko, Blink, and WebKit reports to understand the current support gap. Done means the requirement has an agreed outcome and the relevant browser support status is updated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- internationalization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100