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

Implementation of multi-environment configuration (.env) of vue project

Table of contents What is multi-environment confi...

Steps to deploy Docker project in IDEA

Now most projects have begun to be deployed on Do...

Code analysis of user variables in mysql query statements

In the previous article, we introduced the MySQL ...

How to set background color and transparency in Vue

Background color and transparency settings As sho...

Overview of the basic components of HTML web pages

<br />The information on web pages is mainly...

Detailed explanation of the usage of MySQL memory tables and temporary tables

Usage of MySQL memory tables and temporary tables...

JavaScript Advanced Custom Exception

Table of contents 1. Concept 1.1 What are errors ...

Detailed explanation of Angular data binding and its implementation

Table of contents Preface What is data binding? T...

Example code for css3 to achieve scroll bar beautification effect

The specific code is as follows: /*Scroll bar wid...

HTML is something that web page creators must learn and master.

What are the benefits of learning HTML? 1: Easily...

Implementation example of Vue+Element+Springboot image upload

Recently, I happened to be in touch with the vue+...

MySQL permissions and database design case study

Permissions and database design User Management U...