• iOS字体设置


    label.font = [UIFont fontWithName:@"Arial-BoldItalicMT" size:24];

     

    字体名如下:

     

    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 后不知道字体的名字,看了下面的全解决!

  • 相关阅读:
    CSRF攻击与防御
    別惹我
    单系统登录机制SSO
    jdk8- list操作
    mybatis--Mapper 常见报错总结(持续总结)
    死锁排查的小窍门 --使用jdk自带管理工具jstack
    oracle笔记--查询10条之后记录的数据
    zookeeper集群操作【这里只说明简单的操作步骤,zk的相关参数、说明请参考官方文档】
    利用jquery操作隐藏table某一列
    关于python3.X 报"import urllib.request ImportError: No module named request"错误,解决办法
  • 原文地址:https://www.cnblogs.com/shaoting/p/4938660.html
Copyright © 2020-2023  润新知