• 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>字体名字大全

  • 相关阅读:
    SQL中sum(),avg()等统计结果为null的解决方法 dodo
    DRM内容数据版权加密保护技术学习(上):视频文件打包实现(转) dodo
    如何使用VS2008打开VS2010的解决方案 dodo
    winform程序读取和改写配置文件App.config元素的值 dodo
    Gamification:互联网产品的游戏化设计思路 dodo
    打包发布WinForm应用程序 dodo
    使用HttpHandler做文件过滤器,验证下载文件权限 dodo
    c# cookie使用 dodo
    Balsamiq Mockups 小技巧 dodo
    Snacktools:一套基于Web应用的富媒体编辑器 dodo
  • 原文地址:https://www.cnblogs.com/jiayongqiang/p/5570681.html
Copyright © 2020-2023  润新知