// 打印系统中所有字体的类型名字

NSArray *familyNames = [UIFont familyNames];

for(NSString *familyName in familyNames ){

printf("Family: %s \n", [familyName UTF8String]);

NSArray *fontNames = [UIFont fontNamesForFamilyName:familyName];

for(NSString *fontName in fontNames) {

printf("\tFont: %s \n", [fontName UTF8String]);

}

}

Family: Copperplate 

    Font: Copperplate-Light 

    Font: Copperplate 

    Font: Copperplate-Bold 

Family: Heiti SC 

Family: Kohinoor Telugu 

    Font: KohinoorTelugu-Regular 

    Font: KohinoorTelugu-Medium 

    Font: KohinoorTelugu-Light 

Family: Thonburi 

    Font: Thonburi 

    Font: Thonburi-Bold 

    Font: Thonburi-Light 

Family: Heiti TC 

Family: Courier New 

    Font: CourierNewPS-BoldMT 

    Font: CourierNewPS-ItalicMT 

    Font: CourierNewPSMT 

    Font: CourierNewPS-BoldItalicMT 

Family: Gill Sans 

    Font: GillSans-Italic 

    Font: GillSans-Bold 

    Font: GillSans-BoldItalic 

    Font: GillSans-LightItalic 

    Font: GillSans 

    Font: GillSans-Light 

    Font: GillSans-SemiBold 

    Font: GillSans-SemiBoldItalic 

    Font: GillSans-UltraBold 

Family: Apple SD Gothic Neo 

    Font: AppleSDGothicNeo-Bold 

    Font: AppleSDGothicNeo-UltraLight 

    Font: AppleSDGothicNeo-Thin 

    Font: AppleSDGothicNeo-Regular 

    Font: AppleSDGothicNeo-Light 

    Font: AppleSDGothicNeo-Medium 

    Font: AppleSDGothicNeo-SemiBold 

Family: Marker Felt 

    Font: MarkerFelt-Thin 

    Font: MarkerFelt-Wide 

Family: Avenir Next Condensed 

    Font: AvenirNextCondensed-BoldItalic 

    Font: AvenirNextCondensed-Heavy 

    Font: AvenirNextCondensed-Medium 

    Font: AvenirNextCondensed-Regular 

    Font: AvenirNextCondensed-HeavyItalic 

    Font: AvenirNextCondensed-MediumItalic 

    Font: AvenirNextCondensed-Italic 

    Font: AvenirNextCondensed-UltraLightItalic 

    Font: AvenirNextCondensed-UltraLight 

    Font: AvenirNextCondensed-DemiBold 

    Font: AvenirNextCondensed-Bold 

    Font: AvenirNextCondensed-DemiBoldItalic 

Family: Tamil Sangam MN 

    Font: TamilSangamMN 

    Font: TamilSangamMN-Bold 

Family: Helvetica Neue 

    Font: HelveticaNeue-Italic 

    Font: HelveticaNeue-Bold 

    Font: HelveticaNeue-UltraLight 

    Font: HelveticaNeue-CondensedBlack 

    Font: HelveticaNeue-BoldItalic 

    Font: HelveticaNeue-CondensedBold 

    Font: HelveticaNeue-Medium 

    Font: HelveticaNeue-Light 

    Font: HelveticaNeue-Thin 

    Font: HelveticaNeue-ThinItalic 

    Font: HelveticaNeue-LightItalic 

    Font: HelveticaNeue-UltraLightItalic 

    Font: HelveticaNeue-MediumItalic 

    Font: HelveticaNeue 

Family: Gurmukhi MN 

    Font: GurmukhiMN-Bold 

    Font: GurmukhiMN 

Family: Times New Roman 

    Font: TimesNewRomanPSMT 

    Font: TimesNewRomanPS-BoldItalicMT 

    Font: TimesNewRomanPS-ItalicMT 

    Font: TimesNewRomanPS-BoldMT 

Family: Georgia 

    Font: Georgia-BoldItalic 

    Font: Georgia 

    Font: Georgia-Italic 

    Font: Georgia-Bold 

Family: Apple Color Emoji 

    Font: AppleColorEmoji 

Family: Arial Rounded MT Bold 

    Font: ArialRoundedMTBold 

Family: Kailasa 

    Font: Kailasa-Bold 

    Font: Kailasa 

Family: Kohinoor Devanagari 

    Font: KohinoorDevanagari-Light 

    Font: KohinoorDevanagari-Regular 

    Font: KohinoorDevanagari-Semibold 

Family: Kohinoor Bangla 

    Font: KohinoorBangla-Semibold 

    Font: KohinoorBangla-Regular 

    Font: KohinoorBangla-Light 

Family: Chalkboard SE 

    Font: ChalkboardSE-Bold 

    Font: ChalkboardSE-Light 

    Font: ChalkboardSE-Regular 

Family: Sinhala Sangam MN 

    Font: SinhalaSangamMN-Bold 

    Font: SinhalaSangamMN 

Family: PingFang TC 

    Font: PingFangTC-Medium 

    Font: PingFangTC-Regular 

    Font: PingFangTC-Light 

    Font: PingFangTC-Ultralight 

    Font: PingFangTC-Semibold 

    Font: PingFangTC-Thin 

Family: Gujarati Sangam MN 

    Font: GujaratiSangamMN-Bold 

    Font: GujaratiSangamMN 

Family: Damascus 

    Font: DamascusLight 

    Font: DamascusBold 

    Font: DamascusSemiBold 

    Font: DamascusMedium 

    Font: Damascus 

Family: Noteworthy 

    Font: Noteworthy-Light 

    Font: Noteworthy-Bold 

Family: Geeza Pro 

    Font: GeezaPro 

    Font: GeezaPro-Bold 

Family: Avenir 

    Font: Avenir-Medium 

    Font: Avenir-HeavyOblique 

    Font: Avenir-Book 

    Font: Avenir-Light 

    Font: Avenir-Roman 

    Font: Avenir-BookOblique 

    Font: Avenir-MediumOblique 

    Font: Avenir-Black 

    Font: Avenir-BlackOblique 

    Font: Avenir-Heavy 

    Font: Avenir-LightOblique 

    Font: Avenir-Oblique 

Family: Academy Engraved LET 

    Font: AcademyEngravedLetPlain 

Family: Mishafi 

    Font: DiwanMishafi 

Family: Futura 

    Font: Futura-CondensedMedium 

    Font: Futura-CondensedExtraBold 

    Font: Futura-Medium 

    Font: Futura-MediumItalic 

    Font: Futura-Bold 

Family: Farah 

    Font: Farah 

Family: Kannada Sangam MN 

    Font: KannadaSangamMN 

    Font: KannadaSangamMN-Bold 

Family: Arial Hebrew 

    Font: ArialHebrew-Bold 

    Font: ArialHebrew-Light 

    Font: ArialHebrew 

Family: Arial 

    Font: ArialMT 

    Font: Arial-BoldItalicMT 

    Font: Arial-BoldMT 

    Font: Arial-ItalicMT 

Family: Party LET 

    Font: PartyLetPlain 

Family: Chalkduster 

    Font: Chalkduster 

Family: Hoefler Text 

    Font: HoeflerText-Italic 

    Font: HoeflerText-Regular 

    Font: HoeflerText-Black 

    Font: HoeflerText-BlackItalic 

Family: Optima 

    Font: Optima-Regular 

    Font: Optima-ExtraBlack 

    Font: Optima-BoldItalic 

    Font: Optima-Italic 

    Font: Optima-Bold 

Family: Palatino 

    Font: Palatino-Bold 

    Font: Palatino-Roman 

    Font: Palatino-BoldItalic 

    Font: Palatino-Italic 

Family: Lao Sangam MN 

    Font: LaoSangamMN 

Family: Malayalam Sangam MN 

    Font: MalayalamSangamMN-Bold 

    Font: MalayalamSangamMN 

Family: Al Nile 

    Font: AlNile-Bold 

    Font: AlNile 

Family: Bradley Hand 

    Font: BradleyHandITCTT-Bold 

Family: PingFang HK 

    Font: PingFangHK-Ultralight 

    Font: PingFangHK-Semibold 

    Font: PingFangHK-Thin 

    Font: PingFangHK-Light 

    Font: PingFangHK-Regular 

    Font: PingFangHK-Medium 

Family: Trebuchet MS 

    Font: Trebuchet-BoldItalic 

    Font: TrebuchetMS 

    Font: TrebuchetMS-Bold 

    Font: TrebuchetMS-Italic 

Family: Helvetica 

    Font: Helvetica-Bold 

    Font: Helvetica 

    Font: Helvetica-LightOblique 

    Font: Helvetica-Oblique 

    Font: Helvetica-BoldOblique 

    Font: Helvetica-Light 

Family: Courier 

    Font: Courier-BoldOblique 

    Font: Courier 

    Font: Courier-Bold 

    Font: Courier-Oblique 

Family: Cochin 

    Font: Cochin-Bold 

    Font: Cochin 

    Font: Cochin-Italic 

    Font: Cochin-BoldItalic 

Family: Hiragino Mincho ProN 

    Font: HiraMinProN-W6 

    Font: HiraMinProN-W3 

Family: Devanagari Sangam MN 

    Font: DevanagariSangamMN 

    Font: DevanagariSangamMN-Bold 

Family: Oriya Sangam MN 

    Font: OriyaSangamMN   

    Font: OriyaSangamMN-Bold 

Family: Snell Roundhand 

    Font: SnellRoundhand-Bold 

    Font: SnellRoundhand 

    Font: SnellRoundhand-Black 

Family: Zapf Dingbats 

    Font: ZapfDingbatsITC 

Family: Bodoni 72 

    Font: BodoniSvtyTwoITCTT-Bold 

    Font: BodoniSvtyTwoITCTT-Book 

    Font: BodoniSvtyTwoITCTT-BookIta 

Family: Verdana 

    Font: Verdana-Italic 

    Font: Verdana-BoldItalic 

    Font: Verdana 

    Font: Verdana-Bold 

Family: American Typewriter 

    Font: AmericanTypewriter-CondensedLight 

    Font: AmericanTypewriter 

    Font: AmericanTypewriter-CondensedBold 

    Font: AmericanTypewriter-Light 

    Font: AmericanTypewriter-Semibold 

    Font: AmericanTypewriter-Bold 

    Font: AmericanTypewriter-Condensed 

Family: Avenir Next 

    Font: AvenirNext-UltraLight 

    Font: AvenirNext-UltraLightItalic 

    Font: AvenirNext-Bold 

    Font: AvenirNext-BoldItalic 

    Font: AvenirNext-DemiBold 

    Font: AvenirNext-DemiBoldItalic 

    Font: AvenirNext-Medium 

    Font: AvenirNext-HeavyItalic 

    Font: AvenirNext-Heavy 

    Font: AvenirNext-Italic 

    Font: AvenirNext-Regular 

    Font: AvenirNext-MediumItalic 

Family: Baskerville 

    Font: Baskerville-Italic 

    Font: Baskerville-SemiBold 

    Font: Baskerville-BoldItalic 

    Font: Baskerville-SemiBoldItalic 

    Font: Baskerville-Bold 

    Font: Baskerville 

Family: Khmer Sangam MN 

    Font: KhmerSangamMN 

Family: Didot 

    Font: Didot-Italic 

    Font: Didot-Bold 

    Font: Didot 

Family: Savoye LET 

    Font: SavoyeLetPlain 

Family: Bodoni Ornaments 

    Font: BodoniOrnamentsITCTT 

Family: Symbol 

    Font: Symbol 

Family: Menlo 

    Font: Menlo-Italic 

    Font: Menlo-Bold 

    Font: Menlo-Regular 

    Font: Menlo-BoldItalic 

Family: Bodoni 72 Smallcaps 

    Font: BodoniSvtyTwoSCITCTT-Book 

Family: Papyrus 

    Font: Papyrus 

    Font: Papyrus-Condensed 

Family: Hiragino Sans 

    Font: HiraginoSans-W3 

    Font: HiraginoSans-W6 

Family: PingFang SC 

    Font: PingFangSC-Ultralight 

    Font: PingFangSC-Regular 

    Font: PingFangSC-Semibold 

    Font: PingFangSC-Thin 

    Font: PingFangSC-Light 

    Font: PingFangSC-Medium 

Family: Myanmar Sangam MN 

    Font: MyanmarSangamMN-Bold 

    Font: MyanmarSangamMN 

Family: Euphemia UCAS 

    Font: EuphemiaUCAS-Italic 

    Font: EuphemiaUCAS 

    Font: EuphemiaUCAS-Bold 

Family: Telugu Sangam MN 

Family: Bangla Sangam MN 

Family: Zapfino 

    Font: Zapfino 

Family: Bodoni 72 Oldstyle 

    Font: BodoniSvtyTwoOSITCTT-Book 

    Font: BodoniSvtyTwoOSITCTT-Bold 

    Font: BodoniSvtyTwoOSITCTT-BookIt

部分字体展示如下

ios xcode中所有自带的字体如下(最好结合NSMutableAttributedString相结合使用)的更多相关文章

  1. iOS - Xcode中从动态库剥离不需要的架构

    自从iOS 8发布以来,开发人员已经能够利用动态库对iOS开发的好处.对于一般开发,为所有需要的架构设置一个单一的动态库是非常好的,所以您可以在所有设备和iOS模拟器上运行,而无需更改任何东西.然而, ...

  2. iOS:Xcode中SVN不能提交CocoaPods中的.a文件的解决方法

    不能提交.a文件, 这个与SVN的配置有关, 其实与xcode倒没有关系. 解决方法: 1. 打开终端,  在命令行中输入: vi ~/.subversion/config  来打开配置文件.2. 然 ...

  3. IOS开发中与设计沟通之字体大小转换

    px:相对长度单位.像素(Pixel).pt:绝对长度单位.点(Point).1in = 2.54cm = 25.4 mm = 72pt = 6pc 具体换算是: Points Pixels Ems ...

  4. iOS——Xcode中添加第三方库

    一.只有.h和.a文件的库 1.向项目中添加三方库文件 如果添加的第三方库只有.h和.a文件,直接把文件夹拖进项目下面,这时会弹出下面的提示框,一定要勾选下面选择的选项: 这里要注意,在Add to ...

  5. IOS开发中UIFont字体设置

    我们在开发中很多时候要设置UIlabel,UIbutton,UItextfield的字体,这个时候我们就需要用到UIFont,下面简单介绍一下UIFont的用法,仅供参考. UIFont用于获取和设置 ...

  6. iOS开发中涉及的字体问题

    iOS中常见3种方法来控制字体,下面根据我在网上学习总结的内容发布(已完美避过所有坑,iOS8.4) 一.系统默认的设置字体方法(只对英文和数字生效的方法) 1.系统默认提供的字体主要是指UIFont ...

  7. iOS中利用 runtime 一键改变字体

    1.准备 我们新建一个项目名叫ChangeFont,然后我就随便找了个名叫loveway.ttf的字体库拖进去,里面的工程目录大概就是这样的 目录 现在我们就简单的直接在storyboard上拖了一个 ...

  8. IOS开发中Xcode常用插件安装与管理(转)

    XCode中插件管理工具:Alcatraz    转自http://www.cocoachina.com/industry/20140506/8325.html 苹果现在的成绩得益于其始终如一的坚持. ...

  9. iOS开发时,在Xcode中添加多个Targets进行版本控制

    在iOS开发中,很可能有以下场景:需要开发多个版本,或因需区分收费版,免费版,或因为网络环境需要区分测试版,发布版,或因渠道不同需要区分企业版,AppStore版等等.解决办法无非就是CheckOut ...

随机推荐

  1. Java开发工具

    总的来看Java的开发工具无非由两个部分构成,一个JDK一个是IDE,无论JDK是不可变的,IDE则是哪个用着舒服就用哪个. 1JDK 1.1简介 JDK是 Java 语言的软件开发工具包(SDK), ...

  2. ef code first 您没有所需权限

    在进行数据库更新操作时,update-database -force,反复提示没有改表或者没有所需权限,昨晚折腾了4个小时没有搞定,太晚了,今天Google了一下,这方面的错误,提到的都很少,在一篇文 ...

  3. HTML canvas图像裁剪

    canvas drawImage方法的图像裁剪理解可能会比较耗时,记录一下,以便供人翻阅! context.drawImage(img,sx,sy,swidth,sheight,x,y,width,h ...

  4. CSS实现三角形图标的原理《转载》

    网页中经常有一种三角形的图标,鼠标点一下会弹出一个下拉菜单之类的(之前淘宝也有,不过现在改版好像没有了) 之前以为是个png图标背景,后来在bootstrap中看到有一个图标样式叫做caret的用来实 ...

  5. JAVA中方法的定义与使用(课堂学习归纳)

    组合数,百度词条是这样解释的:从m个不同元素中取出n(n≤m)个元素的所有组合的个数,叫做从m个不同元素中取出n个元素的组合数(Combination) 对于计算组合数,需要一定的工作量,计算机可以很 ...

  6. Redis集合相关命令

    1.无序集合集合的特性:①确定性②互异性③无序性redis的set是string类型的无序集合set元素最大可以包含(2^32-1)个元素 sadd key value1....valueN 将将元素 ...

  7. 表格单元格td设置宽度无效的解决办法 .

    http://zzstudy.offcn.com/archives/11366 在做table页面时,有时对td设置的宽度是无效的,td的宽度始终有内部的内容撑开,可以设置padding,但直接设置w ...

  8. SSM

    今天内容安排 1:复习mybatis 2:复习springMVC 3:springMVC+spring+mybatis组合起来,搭建一个web应用开发的框架 4:用户管理系统,针对用户的CRUD操作, ...

  9. HDU 5863 cjj's string game

    $dp$,矩阵加速. 设$dp[i][j][0]$表示:长度为$i$的两个字符串,之前还未出现过长度为$m$相同的,目前为止最后$j$个是相同的. 设$dp[i][j][1]$表示:长度为$i$的两个 ...

  10. [妙味JS基础]第十课:日期对象、时钟倒计时

    知识点总结 时间.年.月.日.时.分.秒 new Date() ->当前系统的时间对象 数字类型: getFullYear().getYear().getUTCFullYear() getYea ...