iOS添加自訂自體 [UIFont fontWithName: size:](英文有效)

來源:互聯網
上載者:User

iOS添加自訂自體 [UIFont fontWithName: size:](英文有效)

[UIFont fontWithName:(NSString *)fontName size:(CGFloat)fontSize];

//便利字型名稱

for (NSString *str in [UIFont familyNames]) {

dlog(@"UIFont_name: %@",str);

}

 

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Marion

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Copperplate

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Heiti SC

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Iowan Old Style

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Courier New

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Apple SD Gothic Neo

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Heiti TC

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Gill Sans

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Marker Felt

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Thonburi

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Avenir Next Condensed

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Tamil Sangam MN

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Helvetica Neue

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Gurmukhi MN

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Times New Roman

2015-05-25 16:36:46.591 pengsi[10717:2381284] UIFont_name: Georgia

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Apple Color Emoji

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Arial Rounded MT Bold

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Kailasa

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Kohinoor Devanagari

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Sinhala Sangam MN

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Chalkboard SE

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Superclarendon

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Gujarati Sangam MN

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Damascus

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Noteworthy

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Geeza Pro

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Avenir

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Academy Engraved LET

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Mishafi

2015-05-25 16:36:46.596 pengsi[10717:2381284] UIFont_name: Futura

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Farah

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Kannada Sangam MN

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Arial Hebrew

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Arial

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Party LET

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Chalkduster

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Hiragino Kaku Gothic ProN

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Hoefler Text

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Optima

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Palatino

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Malayalam Sangam MN

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Lao Sangam MN

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Al Nile

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Bradley Hand

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Hiragino Mincho ProN

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Trebuchet MS

2015-05-25 16:36:46.597 pengsi[10717:2381284] UIFont_name: Helvetica

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Courier

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Cochin

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Devanagari Sangam MN

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Oriya Sangam MN

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Snell Roundhand

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Zapf Dingbats

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Bodoni 72

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Verdana

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: American Typewriter

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Avenir Next

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Baskerville

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Khmer Sangam MN

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Didot

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Savoye LET

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Bodoni Ornaments

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Symbol

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Menlo

2015-05-25 16:36:46.598 pengsi[10717:2381284] UIFont_name: Bodoni 72 Smallcaps

2015-05-25 16:36:46.599 pengsi[10717:2381284] UIFont_name: DIN Alternate

2015-05-25 16:36:46.599 pengsi[10717:2381284] UIFont_name: Papyrus

2015-05-25 16:36:46.599 pengsi[10717:2381284] UIFont_name: Euphemia UCAS

2015-05-25 16:36:46.599 pengsi[10717:2381284] UIFont_name: Telugu Sangam MN

2015-05-25 16:36:46.599 pengsi[10717:2381284] UIFont_name: Bangla Sangam MN

2015-05-25 16:36:46.599 pengsi[10717:2381284] UIFont_name: Zapfino

2015-05-25 16:36:46.599 pengsi[10717:2381284] UIFont_name: Bodoni 72 Oldstyle

2015-05-25 16:36:46.599 pengsi[10717:2381284] UIFont_name: DIN Condensed


相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.