代码改变世界

iphone支持的所有字体

2010-11-04 17:39  Tracy E  阅读(3290)  评论(0编辑  收藏  举报

 

//打印iphone支持的所有字体
NSArray *familyNames = [UIFont familyNames];
for(NSString *familyName in familyNames)
{
    NSLog(@"%@", familyName);
    NSArray *fontNames = [UIFont    fontNamesForFamilyName:familyName];
    for(NSString *fontName in fontNames)
    {
        NSLog(@"\t%@", fontName);
    }
}

 

Arial Hebrew

ArialHebrew-Bold

ArialHebrew

Zapfino

Zapfino

Oriya Sangam MN

OriyaSangamMN

OriyaSangamMN-Bold

Cochin

Cochin

Cochin-BoldItalic

Cochin-Italic

Cochin-Bold

Baskerville

Baskerville

Baskerville-BoldItalic

Baskerville-Italic

Baskerville-Bold

Verdana

Verdana-Bold

Verdana-BoldItalic

Verdana-Italic

Verdana

Gurmukhi MN

GurmukhiMN

GurmukhiMN-Bold

Palatino

Palatino-BoldItalic

Palatino-Italic

Palatino-Bold

Palatino-Roman

Tamil Sangam MN

TamilSangamMN-Bold

TamilSangamMN

Marker Felt

MarkerFelt-Wide

MarkerFelt-Thin

Courier New

CourierNewPS-BoldMT

CourierNewPS-ItalicMT

CourierNewPS-BoldItalicMT

CourierNewPSMT

Courier

Courier-Oblique

Courier

Courier-Bold

Courier-BoldOblique

DB LCD Temp

DBLCDTempBlack

Trebuchet MS

TrebuchetMS-Italic

Trebuchet-BoldItalic

TrebuchetMS

TrebuchetMS-Bold

Arial Rounded MT Bold

ArialRoundedMTBold

Bangla Sangam MN

BanglaSangamMN

BanglaSangamMN-Bold

Telugu Sangam MN

TeluguSangamMN

TeluguSangamMN-Bold

American Typewriter

AmericanTypewriter-Bold

AmericanTypewriter

Arial

ArialMT

Arial-ItalicMT

Arial-BoldMT

Arial-BoldItalicMT

Hiragino Kaku Gothic ProN

HiraKakuProN-W3

HiraKakuProN-W6

AppleGothic

AppleGothic

Heiti SC

STHeitiSC-Light

STHeitiSC-Medium

Malayalam Sangam MN

MalayalamSangamMN-Bold

MalayalamSangamMN

Thonburi

Thonburi

Thonburi-Bold

Helvetica

Helvetica-BoldOblique

Helvetica

Helvetica-Oblique

Helvetica-Bold

Futura

Futura-CondensedExtraBold

Futura-MediumItalic

Futura-Medium

Gujarati Sangam MN

GujaratiSangamMN-Bold

GujaratiSangamMN

Heiti K

STHeitiK-Medium

STHeitiK-Light

Devanagari Sangam MN

DevanagariSangamMN-Bold

DevanagariSangamMN

Heiti TC

STHeitiTC-Light

STHeitiTC-Medium

Sinhala Sangam MN

SinhalaSangamMN

SinhalaSangamMN-Bold

Kannada Sangam MN

KannadaSangamMN-Bold

KannadaSangamMN

Georgia

Georgia-BoldItalic

Georgia-Italic

Georgia-Bold

Georgia

Heiti J

STHeitiJ-Medium

STHeitiJ-Light

Times New Roman

TimesNewRomanPS-BoldMT

TimesNewRomanPS-ItalicMT

TimesNewRomanPS-BoldItalicMT

TimesNewRomanPSMT

Geeza Pro

GeezaPro

GeezaPro-Bold

Helvetica Neue

HelveticaNeue-Bold

HelveticaNeue-BoldItalic

HelveticaNeue

HelveticaNeue-Italic