zoukankan      html  css  js  c++  java
  • iOS UIFont 字体名字大全

    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

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

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

     

    下一节会继续说:

     
        NSArray* familys = [UIFont familyNames]; 
        
        for (int i = 0; i<[familys count]; i++) { 
            
            NSString* family = [familys objectAtIndex:i]; 
            
            NSLog(@"Fontfamily:%@=====",family); 
            
            NSArray* fonts = [UIFont fontNamesForFamilyName:family]; 
            
            for (int j = 0; j<[fonts count]; j++) { 
                
                NSLog(@"FontName:%@",[fonts objectAtIndex:j]); 
                
            }

  • 相关阅读:
    每周一荐:代码编辑器sublime
    每周一荐:Google的序列化框架Protobuf
    每周一荐:ObjectiveC的开源开发环境GNUstep
    每周一荐:用gnuplot绘制函数曲线
    每周一荐:学习ACE一定要看的书
    临时变量管理器
    每周一荐:TotalCommand的文件夹同步功能
    每周一荐:支持latex的思维导图软件docear
    关于程序员面试的一点想法
    每周一荐:Python Web开发框架Django
  • 原文地址:https://www.cnblogs.com/hero11223/p/5613092.html
Copyright © 2011-2022 走看看