iOS4で使えるフォントを調べてみました。
ViewControllerのviewDidLoadに以下のように記述することで、フォントファミリーごとにどんなフォントが使えるのか一覧で出力できました。多くのフォントが搭載されているように感じますが、日本語の表示にはHiraginoしか使えないようです。
– (void)viewDidLoad {
[super viewDidLoad];
for(NSString *familyName in [UIFont familyNames]){
NSLog(@”-%@”, familyName);
for(NSString *fontName in [UIFont fontNamesForFamilyName:familyName]){
NSLog(@”–%@”, fontName);
}
}
}
出力結果
2010-07-15 10:33:43.504 Font[1193:307] -Arial Hebrew
2010-07-15 10:33:43.514 Font[1193:307] –ArialHebrew-Bold
2010-07-15 10:33:43.517 Font[1193:307] –ArialHebrew
2010-07-15 10:33:43.521 Font[1193:307] -Zapfino
2010-07-15 10:33:43.525 Font[1193:307] –Zapfino
2010-07-15 10:33:43.529 Font[1193:307] -Oriya Sangam MN
2010-07-15 10:33:43.532 Font[1193:307] –OriyaSangamMN
2010-07-15 10:33:43.536 Font[1193:307] –OriyaSangamMN-Bold
2010-07-15 10:33:43.539 Font[1193:307] -Cochin
2010-07-15 10:33:43.543 Font[1193:307] –Cochin
2010-07-15 10:33:43.547 Font[1193:307] –Cochin-BoldItalic
2010-07-15 10:33:43.550 Font[1193:307] –Cochin-Italic
2010-07-15 10:33:43.553 Font[1193:307] –Cochin-Bold
2010-07-15 10:33:43.556 Font[1193:307] -Baskerville
2010-07-15 10:33:43.560 Font[1193:307] –Baskerville
2010-07-15 10:33:43.563 Font[1193:307] –Baskerville-BoldItalic
2010-07-15 10:33:43.566 Font[1193:307] –Baskerville-Italic
2010-07-15 10:33:43.569 Font[1193:307] –Baskerville-Bold
2010-07-15 10:33:43.573 Font[1193:307] -Verdana
2010-07-15 10:33:43.576 Font[1193:307] –Verdana-Bold
2010-07-15 10:33:43.580 Font[1193:307] –Verdana-BoldItalic
2010-07-15 10:33:43.583 Font[1193:307] –Verdana-Italic
2010-07-15 10:33:43.586 Font[1193:307] –Verdana
2010-07-15 10:33:43.589 Font[1193:307] -Gurmukhi MN
2010-07-15 10:33:43.593 Font[1193:307] –GurmukhiMN
2010-07-15 10:33:43.596 Font[1193:307] –GurmukhiMN-Bold
2010-07-15 10:33:43.599 Font[1193:307] -Palatino
2010-07-15 10:33:43.602 Font[1193:307] –Palatino-BoldItalic
2010-07-15 10:33:43.606 Font[1193:307] –Palatino-Italic
2010-07-15 10:33:43.610 Font[1193:307] –Palatino-Bold
2010-07-15 10:33:43.613 Font[1193:307] –Palatino-Roman
2010-07-15 10:33:43.616 Font[1193:307] -Tamil Sangam MN
2010-07-15 10:33:43.619 Font[1193:307] –TamilSangamMN-Bold
2010-07-15 10:33:43.623 Font[1193:307] –TamilSangamMN
2010-07-15 10:33:43.626 Font[1193:307] -Marker Felt
2010-07-15 10:33:43.630 Font[1193:307] –MarkerFelt-Wide
2010-07-15 10:33:43.633 Font[1193:307] –MarkerFelt-Thin
2010-07-15 10:33:43.636 Font[1193:307] -Courier New
2010-07-15 10:33:43.639 Font[1193:307] –CourierNewPS-BoldMT
2010-07-15 10:33:43.643 Font[1193:307] –CourierNewPS-ItalicMT
2010-07-15 10:33:43.646 Font[1193:307] –CourierNewPS-BoldItalicMT
2010-07-15 10:33:43.650 Font[1193:307] –CourierNewPSMT
2010-07-15 10:33:43.653 Font[1193:307] -Courier
2010-07-15 10:33:43.656 Font[1193:307] –Courier-Oblique
2010-07-15 10:33:43.660 Font[1193:307] –Courier
2010-07-15 10:33:43.663 Font[1193:307] –Courier-Bold
2010-07-15 10:33:43.666 Font[1193:307] –Courier-BoldOblique
2010-07-15 10:33:43.669 Font[1193:307] -DB LCD Temp
2010-07-15 10:33:43.674 Font[1193:307] –DBLCDTempBlack
2010-07-15 10:33:43.678 Font[1193:307] -Trebuchet MS
2010-07-15 10:33:43.681 Font[1193:307] –TrebuchetMS-Italic
2010-07-15 10:33:43.685 Font[1193:307] –Trebuchet-BoldItalic
2010-07-15 10:33:43.688 Font[1193:307] –TrebuchetMS
2010-07-15 10:33:43.691 Font[1193:307] –TrebuchetMS-Bold
2010-07-15 10:33:43.694 Font[1193:307] -Arial Rounded MT Bold
2010-07-15 10:33:43.698 Font[1193:307] –ArialRoundedMTBold
2010-07-15 10:33:43.701 Font[1193:307] -Bangla Sangam MN
2010-07-15 10:33:43.705 Font[1193:307] –BanglaSangamMN
2010-07-15 10:33:43.708 Font[1193:307] –BanglaSangamMN-Bold
2010-07-15 10:33:43.711 Font[1193:307] -Telugu Sangam MN
2010-07-15 10:33:43.714 Font[1193:307] –TeluguSangamMN
2010-07-15 10:33:43.718 Font[1193:307] –TeluguSangamMN-Bold
2010-07-15 10:33:43.721 Font[1193:307] -American Typewriter
2010-07-15 10:33:43.724 Font[1193:307] –AmericanTypewriter-Bold
2010-07-15 10:33:43.728 Font[1193:307] –AmericanTypewriter
2010-07-15 10:33:43.731 Font[1193:307] -Arial
2010-07-15 10:33:43.734 Font[1193:307] –ArialMT
2010-07-15 10:33:43.737 Font[1193:307] –Arial-ItalicMT
2010-07-15 10:33:43.741 Font[1193:307] –Arial-BoldMT
2010-07-15 10:33:43.744 Font[1193:307] –Arial-BoldItalicMT
2010-07-15 10:33:43.747 Font[1193:307] -Hiragino Kaku Gothic ProN
2010-07-15 10:33:43.750 Font[1193:307] –HiraKakuProN-W3
2010-07-15 10:33:43.754 Font[1193:307] –HiraKakuProN-W6
2010-07-15 10:33:43.757 Font[1193:307] -AppleGothic
2010-07-15 10:33:43.760 Font[1193:307] –AppleGothic
2010-07-15 10:33:43.764 Font[1193:307] -Heiti SC
2010-07-15 10:33:43.767 Font[1193:307] –STHeitiSC-Light
2010-07-15 10:33:43.770 Font[1193:307] –STHeitiSC-Medium
2010-07-15 10:33:43.774 Font[1193:307] -Malayalam Sangam MN
2010-07-15 10:33:43.777 Font[1193:307] –MalayalamSangamMN-Bold
2010-07-15 10:33:43.781 Font[1193:307] –MalayalamSangamMN
2010-07-15 10:33:43.784 Font[1193:307] -Thonburi
2010-07-15 10:33:43.787 Font[1193:307] –Thonburi
2010-07-15 10:33:43.790 Font[1193:307] –Thonburi-Bold
2010-07-15 10:33:43.794 Font[1193:307] -Helvetica
2010-07-15 10:33:43.797 Font[1193:307] –Helvetica-BoldOblique
2010-07-15 10:33:43.800 Font[1193:307] –Helvetica
2010-07-15 10:33:43.803 Font[1193:307] –Helvetica-Oblique
2010-07-15 10:33:43.807 Font[1193:307] –Helvetica-Bold
2010-07-15 10:33:43.810 Font[1193:307] -Futura
2010-07-15 10:33:43.813 Font[1193:307] –Futura-CondensedExtraBold
2010-07-15 10:33:43.817 Font[1193:307] –Futura-MediumItalic
2010-07-15 10:33:43.820 Font[1193:307] –Futura-Medium
2010-07-15 10:33:43.823 Font[1193:307] -Gujarati Sangam MN
2010-07-15 10:33:43.827 Font[1193:307] –GujaratiSangamMN-Bold
2010-07-15 10:33:43.830 Font[1193:307] –GujaratiSangamMN
2010-07-15 10:33:43.833 Font[1193:307] -Heiti K
2010-07-15 10:33:43.837 Font[1193:307] –STHeitiK-Medium
2010-07-15 10:33:43.840 Font[1193:307] –STHeitiK-Light
2010-07-15 10:33:43.843 Font[1193:307] -Devanagari Sangam MN
2010-07-15 10:33:43.847 Font[1193:307] –DevanagariSangamMN-Bold
2010-07-15 10:33:43.850 Font[1193:307] –DevanagariSangamMN
2010-07-15 10:33:43.853 Font[1193:307] -Heiti TC
2010-07-15 10:33:43.857 Font[1193:307] –STHeitiTC-Light
2010-07-15 10:33:43.860 Font[1193:307] –STHeitiTC-Medium
2010-07-15 10:33:43.863 Font[1193:307] -Sinhala Sangam MN
2010-07-15 10:33:43.869 Font[1193:307] –SinhalaSangamMN
2010-07-15 10:33:43.873 Font[1193:307] –SinhalaSangamMN-Bold
2010-07-15 10:33:43.877 Font[1193:307] -Kannada Sangam MN
2010-07-15 10:33:43.880 Font[1193:307] –KannadaSangamMN-Bold
2010-07-15 10:33:43.883 Font[1193:307] –KannadaSangamMN
2010-07-15 10:33:43.887 Font[1193:307] -Georgia
2010-07-15 10:33:43.890 Font[1193:307] –Georgia-BoldItalic
2010-07-15 10:33:43.893 Font[1193:307] –Georgia-Italic
2010-07-15 10:33:43.897 Font[1193:307] –Georgia-Bold
2010-07-15 10:33:43.900 Font[1193:307] –Georgia
2010-07-15 10:33:43.903 Font[1193:307] -Heiti J
2010-07-15 10:33:43.907 Font[1193:307] –STHeitiJ-Medium
2010-07-15 10:33:43.910 Font[1193:307] –STHeitiJ-Light
2010-07-15 10:33:43.913 Font[1193:307] -Times New Roman
2010-07-15 10:33:43.917 Font[1193:307] –TimesNewRomanPS-BoldMT
2010-07-15 10:33:43.920 Font[1193:307] –TimesNewRomanPS-ItalicMT
2010-07-15 10:33:43.923 Font[1193:307] –TimesNewRomanPS-BoldItalicMT
2010-07-15 10:33:43.927 Font[1193:307] –TimesNewRomanPSMT
2010-07-15 10:33:43.930 Font[1193:307] -Geeza Pro
2010-07-15 10:33:43.933 Font[1193:307] –GeezaPro
2010-07-15 10:33:43.936 Font[1193:307] –GeezaPro-Bold
2010-07-15 10:33:43.939 Font[1193:307] -Helvetica Neue
2010-07-15 10:33:43.943 Font[1193:307] –HelveticaNeue-Bold
2010-07-15 10:33:43.946 Font[1193:307] –HelveticaNeue