UIFont 字体样式 [UIFont fontWithName~];

Posted 西贝了爷

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了UIFont 字体样式 [UIFont fontWithName~];相关的知识,希望对你有一定的参考价值。

设置字体样式代码:[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 后不知道字体的名字,看了下面的全解决!

iOS <wbr><wbr>UIFont <wbr><wbr>字体名字大全

以上是关于UIFont 字体样式 [UIFont fontWithName~];的主要内容,如果未能解决你的问题,请参考以下文章

UIFont - 设置字体

UIFont 设置字体

将CATextLayer字体转换为UIFont

如何获取 UIFont 实例的字体大小或粗体版本

UIFont fontWithName 字体名称

UIFont