Chad Fuller posted a list of fonts installed with iPhone OS 2.2.1. I needed to see a more updated list for iPhone OS 3.1.
Deriving from his code, I used the following snippet to output a list of installed fonts to the console.
for (NSString *family in [UIFont familyNames] ) {
NSLog(@"Family: %@", family);
NSLog(@"Fonts:\n");
for (NSString *name in [UIFont fontNamesForFamilyName: family]) {
NSLog(@"\t%@", name);
}
NSLog(@"\n");
}
Here’s the list of fonts reported for iPhone OS 3.1.3.
Family: AppleGothic Fonts: AppleGothic Family: Hiragino Kaku Gothic ProN Fonts: HiraKakuProN-W6 HiraKakuProN-W3 Family: Arial Unicode MS Fonts: ArialUnicodeMS Family: Heiti K Fonts: STHeitiK-Medium STHeitiK-Light Family: DB LCD Temp Fonts: DBLCDTempBlack Family: Helvetica Fonts: Helvetica-Oblique Helvetica-BoldOblique Helvetica Helvetica-Bold Family: Marker Felt Fonts: MarkerFelt-Thin Family: Times New Roman Fonts: TimesNewRomanPSMT TimesNewRomanPS-BoldMT TimesNewRomanPS-BoldItalicMT TimesNewRomanPS-ItalicMT Family: Verdana Fonts: Verdana-Bold Verdana-BoldItalic Verdana Verdana-Italic Family: Georgia Fonts: Georgia-Bold Georgia Georgia-BoldItalic Georgia-Italic Family: Arial Rounded MT Bold Fonts: ArialRoundedMTBold Family: Trebuchet MS Fonts: TrebuchetMS-Italic TrebuchetMS Trebuchet-BoldItalic TrebuchetMS-Bold Family: Heiti TC Fonts: STHeitiTC-Light STHeitiTC-Medium Family: Geeza Pro Fonts: GeezaPro-Bold GeezaPro Family: Courier Fonts: Courier Courier-BoldOblique Courier-Oblique Courier-Bold Family: Arial Fonts: ArialMT Arial-BoldMT Arial-BoldItalicMT Arial-ItalicMT Family: Heiti J Fonts: STHeitiJ-Medium STHeitiJ-Light Family: Arial Hebrew Fonts: ArialHebrew ArialHebrew-Bold Family: Courier New Fonts: CourierNewPS-BoldMT CourierNewPS-ItalicMT CourierNewPS-BoldItalicMT CourierNewPSMT Family: Zapfino Fonts: Zapfino Family: American Typewriter Fonts: AmericanTypewriter AmericanTypewriter-Bold Family: Heiti SC Fonts: STHeitiSC-Medium STHeitiSC-Light Family: Helvetica Neue Fonts: HelveticaNeue HelveticaNeue-Bold Family: Thonburi Fonts: Thonburi-Bold Thonburi
Tags: iphone