美文网首页
UIFont字体设置

UIFont字体设置

作者: IWorld看看外面的精彩 | 来源:发表于2017-01-21 17:55 被阅读118次

---转自:http://www.cnblogs.com/jiayongqiang/p/5570681.html
设置字体样式代码:

[UIFont fontWithName:@"Arial-BoldMT" size:15]

下边一一列举:

一: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: ArialHebrew                 
Font: ArialHebrew-Bold        
五: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     
Font: HiraKakuProN-W3

    
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

                      

UIFont fontWithName 后不知道字体的名字,看了下面的全解决!


Paste_Image.png

相关文章

  • 无标题文章

    //需要判断是否登录 NSString *str = @"866.44"; //设置字体UIFont UIFont...

  • UIFont(设置字体)

    版权:原创 //1.创建并且返回一个指定字体类型和大小的字体对象,fontName指定字体集的名字和风格(例如宋体...

  • UIFont(设置字体)

    //1.创建并且返回一个指定字体类型和大小的字体对象,fontName指定字体集的名字和风格(例如宋体,楷书等这一...

  • UIFont字体设置

    ---转自:http://www.cnblogs.com/jiayongqiang/p/5570681.html设...

  • 字体 uifont

    UIFont 设置字体 - 路不平 - 博客频道 - CSDN.NET

  • iOS UIFont 设置 时间字体不抖动

    不抖动 1.设置字体样式 Courier 和字体大小[label setFont:[UIFont fontWith...

  • UIFont-字体设置

    在实际应用中,难免要选择很多字体,来设置自己的文本。 搞一个字体参考图: iPhone字体清单: Font Fam...

  • UIFont-字体设置

    在实际应用中,我们可能会选择一些字体来设置自己的文本在这里,附上一个字体参考图: iPhone字体清单: Font...

  • 三、iOS-常用UI组件学习(一)

    UIFont ios中的字体字号行间距,字间距设置等。 UIFont最常用的属性就是fontName和fontSi...

  • iOS字体设置,调用方式不变

    iOS设置字体有两种方式 是导入我们的字体到工程,调用[UIFont fontWithName:fontName ...

网友评论

      本文标题:UIFont字体设置

      本文链接:https://www.haomeiwen.com/subject/shhnbttx.html