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 deal with garbled characters in Mysql database

In MySQL, database garbled characters can general...

How to configure multiple tomcats with Nginx load balancing under Linux

The methods of installing nginx and multiple tomc...

An example of refactoring a jigsaw puzzle game using vue3

Preface It took two days to reconstruct a puzzle ...

Example of using store in vue3 to record scroll position

Table of contents Overall Effect Listen for conta...

The role of MySQL 8's new feature window functions

New features in MySQL 8.0 include: Full out-of-th...

What is JavaScript anti-shake and throttling

Table of contents 1. Function debounce 1. What is...

MySQL 8.0.14 installation and configuration method graphic tutorial (general)

MySQL service 8.0.14 installation (general), for ...

Docker container introduction

1. Overview 1.1 Basic concepts: Docker is an open...

MySQL 8.X installation tutorial under Windows

I had been using MySQL 5.7 before, but because My...

The complete implementation process of Sudoku using JavaScript

Table of contents Preface How to solve Sudoku Fil...

Security configuration and detection of SSL after the website enables https

It is standard for websites to enable SSL nowaday...

Docker container orchestration implementation process analysis

In actual development or production environments,...

Vue3.0 implements the encapsulation of the drop-down menu

Vue3.0 has been out for a while, and it is necess...