When working on web design and front-end layouts, selecting typography is often the first critical step determining overall visual polish and reading comfort.

For users of Traditional Chinese, the early default Windows system font, "**PMingLiU**", left an indelible mark on many memories. Before high-DPI displays and modern subpixel antialiasing became standard, flimsy stroke rendering, uneven visual weight, and rough aliasing made screen reading strenuous.

How can you ensure web typography displays crisp, comfortable, and elegant Chinese characters across different operating systems—whether on Windows PCs, Apple Macs, or mobile devices? Mastering CSS font-family syntax and cross-platform font mapping is a fundamental skill for every web designer and front-end developer.


CSS font-family Syntax and Core Best Practices

In CSS, we define the fallback sequence of display fonts using the font-family property. When a browser renders text, it searches through the list from left to right to check whether the font is installed on the user’s system. Once the first compatible match is found, it renders text using that font.

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

1. The Golden Rule: Western Fonts First, Chinese Fonts Second

When configuring font-family, always adhere to the principle: Western fonts first, Chinese fonts second.

The reasons are straightforward:

  • Western fonts (such as Helvetica, Arial, or Roboto) usually only contain ASCII characters and Latin glyphs, with no Chinese Hanzi character definitions.
  • Most Chinese fonts (such as Microsoft JhengHei or PMingLiU) include both Chinese and alphanumeric characters. However, their bundled Latin glyphs often lack balanced kerning, proportional elegance, and aesthetic refinement compared to dedicated Western typefaces.
  • By placing Western fonts ahead in the stack, the browser prioritizes polished Western typography for English words and numbers. When encountering Chinese characters missing from the Western font, the browser naturally “falls back” to the subsequent Chinese font. This achieves ideal rendering for both scripts seamlessly.

2. Wrap Spaces and Chinese Names in Quotes

Whenever a font name contains spaces (such as Microsoft JhengHei or PingFang TC) or uses Chinese characters directly (such as "微軟正黑體"), it must be enclosed within double "" or single '' quotation marks. If the font name consists of a single continuous Latin word (like Arial or sans-serif), quotes can be omitted.

3. Prefer Official English PostScript Names

While modern browsers generally recognize localized Chinese font names, older operating systems, non-Chinese locale environments, or CSS preprocessors may fail to parse native characters due to encoding mismatches (such as UTF-8 vs. Big5).

Therefore, we strongly recommend using the official English PostScript / font family name. For instance, specifying "Microsoft JhengHei" provides significantly higher cross-platform reliability and fault tolerance than writing "微軟正黑體".


Generic Font Families

At the end of every font-family declaration, always append a generic font family keyword as the final safeguard. If none of the specified fonts exist on the client’s machine, the browser falls back to the system default within that category:

Generic FamilyChinese ClassificationCharacteristics & Visual StyleCommon Examples
sans-serifSans-serif / Gothic (無襯線字)Uniform stroke width, no serifs, modern, clean, ideal for screensHei, PingFang, Microsoft JhengHei, Helvetica
serifSerif / Song & Ming (襯線字)Strokes feature decorative end flourishes (serifs), classical, literaryMing, Song, Times New Roman, Georgia
monospaceMonospaced (等寬字)Equal horizontal width per glyph, structured alignment, ideal for codeConsolas, Monaco, Courier New
cursiveCursive / Script (草書/手寫字)Flowing, brush, or handwritten stroke aestheticComic Sans MS, Brush Script
fantasyDecorative / Display (裝飾字)Stylized, artistic character shapes, primarily used for display headlinesImpact, Papyrus

Built-In Chinese Font Reference for Major Operating Systems

Pre-installed Chinese fonts differ significantly across operating systems. Below is a bilingual comparison table of common Chinese fonts on macOS (Apple) and Windows (Microsoft) to guide precise CSS authoring:

1. Common Chinese Fonts on macOS / iOS

Apple operating systems are renowned for outstanding typography rendering, packing built-in high-quality Hei (Gothic), Song/Ming, and Kai (Script) typefaces:

Traditional NameEnglish Name (PostScript / Family)TypeNotes
蘋方-繁PingFang TCSans-serif (Hei)Primary default Traditional Chinese sans-serif on modern macOS / iOS
黑體-繁Heiti TCSans-serif (Hei)Legacy default Traditional Chinese sans-serif in OS X
華文細黑STHeiti Light (or STXihei)Sans-serif (Hei)Delicate stroke weights, suitable for subheadings and blockquotes
華文黑體STHeitiSans-serif (Hei)Standard weight sans-serif
華文楷體STKaitiRegular Script (Kai)Standard brush script framework
華文宋體STSongSerif (Song)Classic Song/Ming serif structure
華文仿宋STFangsongImitation Song (Fangsong)Slender, upright, calligraphic strokes
儷黑 ProLiHei Pro MediumSans-serif (Hei)Classic legacy Mac Traditional Chinese sans-serif
儷宋 ProLiSong Pro LightSerif (Song)Restrained, elegant print-style serif
蘋果儷中黑Apple LiGothic MediumSans-serif (Hei)Classic Apple LiGothic
蘋果儷細宋Apple LiSung LightSerif (Song)Classic Apple LiSung
標楷體BiauKaiRegular Script (Kai)Standard official document Kai script in Taiwan Province

2. Common Chinese Fonts on Windows

Beginning with Windows Vista and Windows 7, Microsoft upgraded its default Traditional Chinese font to Microsoft JhengHei, substantially improving long-standing on-screen readability problems:

Traditional NameEnglish Name (PostScript / Family)TypeNotes
微軟正黑體Microsoft JhengHeiSans-serif (Hei)Dominant default Traditional Chinese sans-serif since Windows Vista
新細明體PMingLiUSerif (Ming)Proportional Ming serif with kerned Western alphanumeric glyphs
細明體MingLiUSerif (Ming)Monospaced Ming serif, common in legacy administrative systems
標楷體DFKai-SBRegular Script (Kai)Standard official document font in Taiwan Province
微軟雅黑Microsoft YaHeiSans-serif (Hei)Default Simplified Chinese sans-serif in Windows
中易黑體SimHeiSans-serif (Hei)Classic Simplified Chinese sans-serif in Windows
中易宋體SimSunSerif (Song)Default Simplified Chinese serif in Windows
新宋體NSimSunSerif (Song)Monospaced Simplified Chinese serif
仿宋FangSong (or FangSong_GB2312)Imitation SongSimplified Chinese Fangsong
楷體KaiTi (or KaiTi_GB2312)Regular Script (Kai)Simplified Chinese Kai

Practical Cross-Platform Font Stack Templates

In production, you do not need to pack every single typeface into your styles. Instead, structure your stacks using a tiered layout: “system native, Western typography first, mainstream cross-platform Traditional Chinese, safe fallbacks”.

This setup invokes modern system native typefaces first: rendering crisp "**PingFang**" on Mac, matching smoothly with "**Microsoft JhengHei**" on Windows, and delivering refined Latin styling via Helvetica and Arial:

/* Universal Cross-Platform Traditional Chinese Sans-Serif Stack */
.font-sans-tw {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang TC", "Microsoft JhengHei", "Heiti TC", "LiHei Pro", sans-serif;
}

2. Literary & Editorial Serif (Ideal for Essays, Literary Journals, and Longform Reading)

When aiming for the tactile dignity and cultural warmth of printed literature, a well-balanced serif stack shines:

/* Universal Cross-Platform Traditional Chinese Serif Stack */
.font-serif-tw {
  font-family: Georgia, "Times New Roman", "Songti TC", "STSong", "LiSong Pro", "PMingLiU", serif;
}

3. Monospace Typography for Code Blocks and Data Tables

For code snippets or financial tables requiring precise vertical column alignment, monospaced fonts prevent awkward character drift:

/* Universal Cross-Platform Monospace Stack */
.font-mono-tw {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}

Conclusion

Choosing the right Chinese typography not only says goodbye to the fragmented, dated feel of legacy PMingLiU, but also establishes a clean, professional, and visually engaging baseline for your website. In today’s rich ecosystem of cross-platform devices, using English font family names, adhering to the “Western first, Chinese second” rule, and configuring well-planned font stacks guarantees readers an optimal reading experience on every screen.

✦ Independent Journalism · Reader Support ✦

Support Independent Perspectives & In-Depth Insights

Every thoughtful analysis and candid critique comes from our dedication to truth and quality. We choose not to follow sensational algorithms or clickbait headlines.

Sustaining independent research requires reader support. Make a one-time or monthly contribution, securely processed by Google.

Payments secured by Google · Manage or cancel anytime in your Google Account