iOS7のフォント名一覧です。
(追記2013/10/17)
-
こちらに書いた記事では、 iOS7で追加されたフォント、iOS6で追加されたフォントがわかるよう色分け してあります。
-
iOS7の新機能のサンプルコード集、『iOS7 Sampler』 で新フォントを確認できるようにしました。
(追記ここまで)
###何に使うのか?
self.hogeLabel.font = [UIFont fontWithName:@"Helvetica Bold Oblique" size:10.0];
みたいな感じで システムフォント以外の UIFont を使う場合 にこのフォント名が必要になります。
###どうやって出力したのか?
UIFont の familyNames
メソッドと、fontNamesForFamilyName:
メソッドを使います。
NSMutableString *str = @"".mutableCopy;
for (NSString *familyName in [UIFont familyNames]) {
[str appendFormat:@"**%@**\n\n", familyName];
for (NSString *fontName in [UIFont fontNamesForFamilyName:familyName]) {
[str appendFormat:@"- %@\n", fontName];
}
[str appendFormat:@"\n"];
}
NSLog(@"%@", str);
(ここに貼り付ける用にmarkdown形式で出力してます)
##一覧
合計で ファミリー数が71、フォント数が236 でした。
Thonburi
- Thonburi-Bold
- Thonburi
- Thonburi-Light
Snell Roundhand
- SnellRoundhand-Black
- SnellRoundhand-Bold
- SnellRoundhand
Academy Engraved LET
- AcademyEngravedLetPlain
Marker Felt
- MarkerFelt-Thin
- MarkerFelt-Wide
Avenir
- Avenir-Heavy
- Avenir-Oblique
- Avenir-Black
- Avenir-Book
- Avenir-BlackOblique
- Avenir-HeavyOblique
- Avenir-Light
- Avenir-MediumOblique
- Avenir-Medium
- Avenir-LightOblique
- Avenir-Roman
- Avenir-BookOblique
Geeza Pro
- GeezaPro-Bold
- GeezaPro
- GeezaPro-Light
Arial Rounded MT Bold
- ArialRoundedMTBold
Trebuchet MS
- Trebuchet-BoldItalic
- TrebuchetMS
- TrebuchetMS-Bold
- TrebuchetMS-Italic
Arial
- ArialMT
- Arial-BoldItalicMT
- Arial-ItalicMT
- Arial-BoldMT
Marion
- Marion-Regular
- Marion-Italic
- Marion-Bold
Menlo
- Menlo-BoldItalic
- Menlo-Regular
- Menlo-Bold
- Menlo-Italic
Malayalam Sangam MN
- MalayalamSangamMN
- MalayalamSangamMN-Bold
Kannada Sangam MN
- KannadaSangamMN
- KannadaSangamMN-Bold
Gurmukhi MN
- GurmukhiMN-Bold
- GurmukhiMN
Bodoni 72 Oldstyle
- BodoniSvtyTwoOSITCTT-BookIt
- BodoniSvtyTwoOSITCTT-Bold
- BodoniSvtyTwoOSITCTT-Book
Bradley Hand
- BradleyHandITCTT-Bold
Cochin
- Cochin-Bold
- Cochin-BoldItalic
- Cochin-Italic
- Cochin
Sinhala Sangam MN
- SinhalaSangamMN
- SinhalaSangamMN-Bold
Hiragino Kaku Gothic ProN
- HiraKakuProN-W6
- HiraKakuProN-W3
Iowan Old Style
- IowanOldStyle-Bold
- IowanOldStyle-BoldItalic
- IowanOldStyle-Italic
- IowanOldStyle-Roman
Damascus
- DamascusBold
- Damascus
- DamascusMedium
- DamascusSemiBold
Al Nile
- AlNile-Bold
- AlNile
Farah
- Farah
Papyrus
- Papyrus-Condensed
- Papyrus
Verdana
- Verdana-BoldItalic
- Verdana-Italic
- Verdana
- Verdana-Bold
Zapf Dingbats
- ZapfDingbatsITC
DIN Condensed
- DINCondensed-Bold
Avenir Next Condensed
- AvenirNextCondensed-Regular
- AvenirNextCondensed-MediumItalic
- AvenirNextCondensed-UltraLightItalic
- AvenirNextCondensed-UltraLight
- AvenirNextCondensed-BoldItalic
- AvenirNextCondensed-Italic
- AvenirNextCondensed-Medium
- AvenirNextCondensed-HeavyItalic
- AvenirNextCondensed-Heavy
- AvenirNextCondensed-DemiBoldItalic
- AvenirNextCondensed-DemiBold
- AvenirNextCondensed-Bold
Courier
- Courier
- Courier-Oblique
- Courier-BoldOblique
- Courier-Bold
Hoefler Text
- HoeflerText-Regular
- HoeflerText-BlackItalic
- HoeflerText-Italic
- HoeflerText-Black
Euphemia UCAS
- EuphemiaUCAS
- EuphemiaUCAS-Bold
- EuphemiaUCAS-Italic
Helvetica
- Helvetica-Oblique
- Helvetica-Light
- Helvetica-Bold
- Helvetica
- Helvetica-BoldOblique
- Helvetica-LightOblique
Hiragino Mincho ProN
- HiraMinProN-W6
- HiraMinProN-W3
Bodoni Ornaments
- BodoniOrnamentsITCTT
Superclarendon
- Superclarendon-Regular
- Superclarendon-BoldItalic
- Superclarendon-Light
- Superclarendon-BlackItalic
- Superclarendon-Italic
- Superclarendon-LightItalic
- Superclarendon-Bold
- Superclarendon-Black
Mishafi
- DiwanMishafi
Optima
- Optima-Regular
- Optima-Italic
- Optima-Bold
- Optima-BoldItalic
- Optima-ExtraBlack
Gujarati Sangam MN
- GujaratiSangamMN-Bold
- GujaratiSangamMN
Devanagari Sangam MN
- DevanagariSangamMN
- DevanagariSangamMN-Bold
Apple Color Emoji
- AppleColorEmoji
Savoye LET
- SavoyeLetPlain
Kailasa
- Kailasa
- Kailasa-Bold
Times New Roman
- TimesNewRomanPS-BoldItalicMT
- TimesNewRomanPSMT
- TimesNewRomanPS-BoldMT
- TimesNewRomanPS-ItalicMT
Telugu Sangam MN
- TeluguSangamMN
- TeluguSangamMN-Bold
Heiti SC
- STHeitiSC-Medium
- STHeitiSC-Light
Apple SD Gothic Neo
- AppleSDGothicNeo-Thin
- AppleSDGothicNeo-SemiBold
- AppleSDGothicNeo-Medium
- AppleSDGothicNeo-Regular
- AppleSDGothicNeo-Bold
- AppleSDGothicNeo-Light
Futura
- Futura-Medium
- Futura-CondensedMedium
- Futura-MediumItalic
- Futura-CondensedExtraBold
Bodoni 72
- BodoniSvtyTwoITCTT-Book
- BodoniSvtyTwoITCTT-Bold
- BodoniSvtyTwoITCTT-BookIta
Baskerville
- Baskerville-Bold
- Baskerville-SemiBoldItalic
- Baskerville-BoldItalic
- Baskerville
- Baskerville-SemiBold
- Baskerville-Italic
Symbol
- Symbol
Heiti TC
- STHeitiTC-Medium
- STHeitiTC-Light
Copperplate
- Copperplate
- Copperplate-Light
- Copperplate-Bold
Party LET
- PartyLetPlain
American Typewriter
- AmericanTypewriter-Light
- AmericanTypewriter-CondensedLight
- AmericanTypewriter-CondensedBold
- AmericanTypewriter
- AmericanTypewriter-Condensed
- AmericanTypewriter-Bold
Chalkboard SE
- ChalkboardSE-Light
- ChalkboardSE-Regular
- ChalkboardSE-Bold
Avenir Next
- AvenirNext-MediumItalic
- AvenirNext-Bold
- AvenirNext-UltraLight
- AvenirNext-DemiBold
- AvenirNext-HeavyItalic
- AvenirNext-Heavy
- AvenirNext-Medium
- AvenirNext-Italic
- AvenirNext-UltraLightItalic
- AvenirNext-BoldItalic
- AvenirNext-Regular
- AvenirNext-DemiBoldItalic
Bangla Sangam MN
- BanglaSangamMN
- BanglaSangamMN-Bold
Noteworthy
- Noteworthy-Bold
- Noteworthy-Light
Zapfino
- Zapfino
Tamil Sangam MN
- TamilSangamMN
- TamilSangamMN-Bold
Chalkduster
- Chalkduster
Arial Hebrew
- ArialHebrew-Bold
- ArialHebrew-Light
- ArialHebrew
Georgia
- Georgia-BoldItalic
- Georgia-Bold
- Georgia-Italic
- Georgia
Helvetica Neue
- HelveticaNeue-BoldItalic
- HelveticaNeue-Light
- HelveticaNeue-Italic
- HelveticaNeue-UltraLightItalic
- HelveticaNeue-CondensedBold
- HelveticaNeue-MediumItalic
- HelveticaNeue-Thin
- HelveticaNeue-Medium
- HelveticaNeue-Thin_Italic
- HelveticaNeue-LightItalic
- HelveticaNeue-UltraLight
- HelveticaNeue-Bold
- HelveticaNeue
- HelveticaNeue-CondensedBlack
Gill Sans
- GillSans
- GillSans-Italic
- GillSans-BoldItalic
- GillSans-Light
- GillSans-LightItalic
- GillSans-Bold
Palatino
- Palatino-Roman
- Palatino-Italic
- Palatino-Bold
- Palatino-BoldItalic
Courier New
- CourierNewPSMT
- CourierNewPS-BoldMT
- CourierNewPS-ItalicMT
- CourierNewPS-BoldItalicMT
Oriya Sangam MN
- OriyaSangamMN
- OriyaSangamMN-Bold
Didot
- Didot-Bold
- Didot-Italic
- Didot
DIN Alternate
- DINAlternate-Bold
Bodoni 72 Smallcaps
- BodoniSvtyTwoSCITCTT-Book
##過去のiOSバージョンとの比較
同じコードをiOS5と、iOS6でも実行してみました。
Version | Families | Fonts |
---|---|---|
iOS5.1 | 58 | 163 |
iOS6.1 | 61 | 199 |
iOS7.0 | 71 | 236 |
だいぶ数が増えたようです。
参考までに、下記記事は iOS5 の頃に同様の方法で一覧を出力したものです。