w3c / w3c/clreq

No support for Kai and Fangsong generic font families

Open
#587 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

doc:clreq gap i:fonts l:zh p:basic s:hani x:blink x:clreq x:gecko x:webkit
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: GeckoBlink 1Blink 2WebKit

Platform Status: Blink

Outcomes

tbd

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.