Document directory
CSSWhen the font-family attribute is used to reference a Chinese font, three methods are often used to define the font:
- Write Chinese directly
- English alias
- Unicode code
When a Chinese name is used directly, the system or encoding page that does not support Chinese characters may not be displayed normally. Unicode codes are hard to remember.
The following is an English alias for commonly used Chinese fonts for your search and use:
Windows
Chinese name |
English name |
* |
Simsun |
Simhei* |
Simhei |
* |
Microsoft yahei |
Microsoft is in bold |
Microsoft jhenghei |
Xin |
Nsimsun |
New body |
Pmingliu |
Fine body |
Mingliu |
Standard entity |
Dfkai-sb |
Imitation Song |
Fangsong |
Body |
Kaiti |
Imitation Song _ gb2312 |
Fangsong_gb2312 |
_ Gb2312 |
Kaiti_gb2312 |
Mac OS
Chinese name |
English name |
文* |
Stheiti light [stxihei] |
文* |
Stheiti |
文 |
Stkaiti |
文 |
Stsong |
文 |
Stfangsong |
Li pro |
Lihei pro Medium |
Lisong pro |
Lisong pro light |
Standard entity |
Biaukai |
Apple Lili black |
Apple ligothic Medium |
Apple lixisong |
Apple lisung light |
'*' Indicates common fonts.