Courier at a glance
| Category | Monospace |
|---|---|
| Designer | Howard Kettler (IBM, 1955) |
| Styles on iOS | 4 (Regular, Bold, Bold Oblique, Oblique) |
| First on iPhone | iOS 3.0 |
| First on iPad | iOS 4.3 |
| Family name | Courier |
| Default PostScript name | Courier |
PostScript names for every Courier 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.
| Style | PostScript name | iPhone | iPad |
|---|---|---|---|
| Regular | Courier | 3.0 | 4.3 |
| Bold | Courier-Bold | 3.0 | 4.3 |
| Bold Oblique | Courier-BoldOblique | 3.0 | 4.3 |
| Oblique | Courier-Oblique | 3.0 | 4.3 |
How to use Courier in code
SwiftUI
Text("Hello, world")
.font(.custom("Courier", size: 17, relativeTo: .body))UIKit
let base = UIFont(name: "Courier", size: 17)!
label.font = UIFontMetrics(forTextStyle: .body).scaledFont(for: base)
label.adjustsFontForContentSizeCategory = trueObjective-C
label.font = [UIFont fontWithName:@"Courier" size:17];CSS for Safari on iPhone and iPad
.headline {
font-family: "Courier", ui-monospace, Menlo, Consolas, monospace;
font-weight: 700;
}Wrapping the font in UIFontMetrics, or passing relativeTo: in SwiftUI, lets Courier 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 Courier on iOS?
Use “Courier” with UIFont(name:size:) or SwiftUI’s Font.custom(_:size:). The bold style is “Courier-Bold”. The family has 4 styles: Regular, Bold, Bold Oblique, Oblique.
Which iOS version added Courier?
According to the iOS Fonts availability data, Courier first shipped on iPhone in iOS 3.0 and on iPad in iOS 4.3.
Can I use Courier on a website?
Safari on iPhone and iPad can render installed system fonts, so a CSS stack such as font-family: "Courier", ui-monospace, Menlo, Consolas, monospace; will use Courier on Apple devices and fall back elsewhere. Embedding the font files on a server requires a separate web licence from the foundry.