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

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. Webgis中关于Openlayers入门使用(一)安装及生成基本地图

    一.WebGis项目中使用的版本2.12 下载地址:https://github.com/openlayers/ol2/releases https://github.com/openlayers/o ...

  2. aop代理方式引起的spring注入bean(实现类)与获取bean(实现类)出错

    描述: 现象一 :A 为 接口,AImpl 为 A 的实现类,且 AImpl 受 aop 扫描,且 aop 无特殊配置   此时若:Spring 中 注入 AImpl 类型的bean,获取一样     ...

  3. Learning from the CakePHP source code - Part I

    最近开始痛定思痛,研究cakephp的源码. 成长的路上从来没有捷径,没有小聪明. 只有傻傻的努力,你才能听到到成长的声音. 下面这篇文章虽然过时了,但是还是可以看到作者的精神,仿佛与作者隔着时空的交 ...

  4. 为Textview里面的ImageSpan添加点击响应事件

    对于图文混排的TextView,用户在浏览到里面的图片的时候,往往有点击图片preview大图或者preview之后保存图片的需求,这就需要为Textview里面的ImageSpan设置点击响应事件. ...

  5. appium使用真机做安卓移动端自动化测试

    1.PC往手机上安装apk文件:adb install apk文件完整路径 2.获取app包名和activity的命令:使用aapt;aapt是sdk自带的一个工具,在sdk\builds-tools ...

  6. 一些常见的CFD基本概念(飞机为例)(摘抄)

    分享一些常见的,常用的但不容易掌握的CFD基础概念. 1.理想气体:不考虑流体粘性的影响. 2.不可压缩流体/恒密度:不考虑流体密度的变化.

  7. 使用PIE对IE进行CSS3兼容介绍和经验总结

    国外团队开发的兼容插件,去年做项目时才发现,非常强大 主角:PIE.js , PIE.htc 两种方法可以实现 官方网站:http://css3pie.com/ 演示地址:http://css3pie ...

  8. zoj 2750 Idiomatic Phrases Game

    迪杰斯特拉单源最短路算法.对成语进行预处理.做出邻接矩阵即可. #include<cstdio> #include<cstring> #include<cmath> ...

  9. 2016弱校联盟十一专场10.2——Around the World

    题目链接:Around the World 题意: 给你n个点,有n-1条边,现在这n-1条边又多增加了ci*2-1条边,问你有多少条欧拉回路 题解: 套用best定理 Best Theorem:有向 ...

  10. hdu_5858_Hard problem(数学题)

    题目链接:hdu_5858_Hard problem 题意: 让你求阴影部分面积 题解: 推推公式就行 #include<stdio.h> #include<math.h> # ...