iOS UIFont 字体名称大全,图解及使用方法
来源:互联网 发布:三天打鱼两天晒网编程 编辑:程序博客网 时间:2024/04/27 18:25
如何在项目中使用方法:
numlable.font=[UIFont fontWithName:@"AmericanTypewriter" size:14.0];//设置字体样式
如何获取字体名称:
NSArray *familyNames = [UIFont familyNames]; for( NSString *familyName in familyNames ){ NSLog(@"Family: %@",familyName); NSArray *fontNames = [UIFont fontNamesForFamilyName:familyName]; for( NSString *fontName in fontNames ){ NSLog(@"Font: %@",fontName); } }
具体字体如下:
Font Family: American Typewriter
Font: AmericanTypewriter
Font: AmericanTypewriter-Bold
Font Family: AppleGothic
Font: AppleGothic
Font Family: Arial
Font: ArialMT
Font: Arial-BoldMT
Font: Arial-BoldItalicMT
Font: Arial-ItalicMT
Font Family: Arial Rounded MT Bold
Font: ArialRoundedMTBold
Font Family: Arial Unicode MS
Font: ArialUnicodeMS
Font Family: Courier
Font: Courier
Font: Courier-BoldOblique
Font: Courier-Oblique
Font: Courier-Bold
Font Family: Courier New
Font: CourierNewPS-BoldMT
Font: CourierNewPS-ItalicMT
Font: CourierNewPS-BoldItalicMT
Font: CourierNewPSMT
Font Family: DB LCD Temp
Font: DBLCDTempBlack
Font Family: Georgia
Font: Georgia-Bold
Font: Georgia
Font: Georgia-BoldItalic
Font: Georgia-Italic
Font Family: Helvetica
Font: Helvetica-Oblique
Font: Helvetica-BoldOblique
Font: Helvetica
Font: Helvetica-Bold
Font Family: Helvetica Neue
Font: HelveticaNeue
Font: HelveticaNeue-Bold
Font Family: Hiragino Kaku Gothic ** W3
Font: HiraKakuProN-W3
Font Family: Hiragino Kaku Gothic ** W6
Font: HiraKakuProN-W6
Font Family: Marker Felt
Font: MarkerFelt-Thin
Font Family: STHeiti J
Font: STHeitiJ-Medium
Font: STHeitiJ-Light
Font Family: STHeiti K
Font: STHeitiK-Medium
Font: STHeitiK-Light
Font Family: STHeiti SC
Font: STHeitiSC-Medium
Font: STHeitiSC-Light
Font Family: STHeiti TC
Font: STHeitiTC-Light
Font: STHeitiTC-Medium
Font Family: Times New Roman
Font: TimesNewRomanPSMT
Font: TimesNewRomanPS-BoldMT
Font: TimesNewRomanPS-BoldItalicMT
Font: TimesNewRomanPS-ItalicMT
Font Family: Trebuchet MS
Font: TrebuchetMS-Italic
Font: TrebuchetMS
Font: Trebuchet-BoldItalic
Font: TrebuchetMS-Bold
Font Family: Verdana
Font: Verdana-Bold
Font: Verdana-BoldItalic
Font: Verdana
Font: Verdana-Italic
Font Family: Zapfino
Font: Zapfino
图示:
感谢51cto.com提供的图片
- iOS UIFont 字体名称大全,图解及使用方法
- IOS UIFont 字体大全
- IOS UIFont 字体大全
- IOS UIFont 字体大全
- IOS UIFont 字体大全
- iOS UIFont 字体大全
- IOS UIFont 字体大全
- ios UIFont 字体大全
- iOS UIFont 字体大全
- iOS UIFont字体大全
- IOS UIFont 字体大全
- iOS UIFont 字体大全
- ios开发 UIFont 字体大全
- iOS UIFont 字体名字大全
- iOS UIFont 字体名字大全
- IOS中 UIFont 字体大全
- iOS UIFont 字体名字大全
- iOS UIFont 字体名字大全
- change log只保留文件变更的行
- poj 3026 Borg Maze
- Struts Series(1) - Struts基础
- 异常处理
- jquery mobile 表单post无法提交数据问题
- iOS UIFont 字体名称大全,图解及使用方法
- Mysql系列(七)存储过程
- 统计没有农产品市场的省份有哪些
- paraview 显示动画
- 微信热修复框架的使用心得体会------Tinker
- Java多线程—生产者-消费者问题
- 数组
- 怎么解决eclipse报PermGen space异常的问题
- 对象类型的判断