iOS Fonts › World Scripts › Heiti SC

Heiti SC on iOS

A Simplified Chinese sans serif (hei ti) used for Chinese interface text on early iOS releases.

你好,世界 · Aa
STHeitiSC-LightLight
你好,世界 · Aa
STHeitiSC-MediumMedium

Heiti SC at a glance

CategoryWorld Scripts
Styles on iOS2 (Light, Medium)
First on iPhoneiOS 3.0
First on iPadiOS 4.3
Family nameHeiti SC
Default PostScript nameSTHeitiSC-Medium

PostScript names for every Heiti SC style

iOS looks fonts up by their PostScript name, not the friendly family name. Use the names below exactly as written — they are case-sensitive.

StylePostScript nameiPhoneiPad
LightSTHeitiSC-Light3.04.3
MediumSTHeitiSC-Medium3.04.3

How to use Heiti SC in code

SwiftUI

Swift
Text("Hello, world")
    .font(.custom("STHeitiSC-Medium", size: 17, relativeTo: .body))

UIKit

Swift
let base = UIFont(name: "STHeitiSC-Medium", size: 17)!
label.font = UIFontMetrics(forTextStyle: .body).scaledFont(for: base)
label.adjustsFontForContentSizeCategory = true

Objective-C

Obj-C
label.font = [UIFont fontWithName:@"STHeitiSC-Medium" size:17];

CSS for Safari on iPhone and iPad

CSS
.headline {
  font-family: "Heiti SC", sans-serif;
  font-weight: 500;
}

Wrapping the font in UIFontMetrics, or passing relativeTo: in SwiftUI, lets Heiti SC grow and shrink with the user’s Dynamic Type setting. Read the custom fonts guide for the full checklist, or the San Francisco guide if you want Apple’s system font instead.

Frequently asked questions

What is the PostScript name of Heiti SC on iOS?

Use “STHeitiSC-Medium” with UIFont(name:size:) or SwiftUI’s Font.custom(_:size:). The family has 2 styles: Light, Medium.

Which iOS version added Heiti SC?

According to the iOS Fonts availability data, Heiti SC first shipped on iPhone in iOS 3.0 and on iPad in iOS 4.3.

Can I use Heiti SC on a website?

Safari on iPhone and iPad can render installed system fonts, so a CSS stack such as font-family: "Heiti SC", sans-serif; will use Heiti SC on Apple devices and fall back elsewhere. Embedding the font files on a server requires a separate web licence from the foundry.