Summary of English names of Chinese fonts

Summary of English names of Chinese fonts

When using the font-family property in CSS to reference Chinese fonts, three methods are often used to define fonts:

  • Write in Chinese directly
  • English alias
  • Unicode code

When using Chinese names directly, they may not be displayed properly on systems or pages that do not support Chinese. If Unicode code is used, it will be inconvenient to remember.

The following are the English aliases of commonly used Chinese fonts for your convenience:

Windows

Chinese name English name
Songti * SimSun
Bold * SimHei
Microsoft YaHei * Microsoft YaHei
Microsoft Helvetica Microsoft JhengHei
New Song NSimSun
New Mingti PMingLiU
Fine Ming MingLiU
Standard Kaiti DFKai-SB
Fangsong FangSong
Kaiti KaiTi
Fangsong_GB2312 FangSong_GB2312
Kaiti_GB2312 KaiTi_GB2312

Mac OS

Chinese name English name
Chinese fine black * STHeiti Light [STXihei]
Chinese bold * STHeiti
Chinese Kaiti STKaiti
Chinese Song STSong
Chinese Song Dynasty STFangsong
Lihei Pro LiHei Pro Medium
Lisong Pro LiSong Pro Light
Standard Kaiti BiauKai
Apple Li Zhong Black Apple LiGothic Medium
Apple Li Xi Song Apple LiSung Light

'*' indicates commonly used fonts.

<<:  About converting textarea text to html, that is, carriage return and line break

>>:  JS implements the snake game

Recommend

How to add a column to a large MySQL table

The question is referenced from: https://www.zhih...

Solution to Tomcat server failing to open tomcat7w.exe

I encountered a little problem when configuring t...

Issues with upgrading Python and installing Mongodb drivers under Centos

Check the Python version python -V If it is below...

MySQL database migration quickly exports and imports large amounts of data

Database migration is a problem we often encounte...

Native JS realizes uniform motion of various sports

This article shares with you a uniform motion imp...

IDEA configuration process of Docker

IDEA is the most commonly used development tool f...

Detailed tutorial on compiling and installing python3.6 on linux

1. First go to the official website https://www.p...

Solution to Ubuntu cannot connect to the network

Effective solution for Ubuntu in virtual machine ...

User experience analysis of facebook dating website design

<br />Related article: Analysis of Facebook&...

How to connect Navicat to the docker database on the server

Start the mysql container in docekr Use command: ...

Reasons and solutions for prompting to save action after uploading files in form

The json data must be returned in html format That...

Linux installation Redis implementation process and error solution

I installed redis today and some errors occurred ...