【问题标题】:Check if certain character is supported by UIFont检查 UIFont 是否支持某些字符
【发布时间】:2013-11-06 11:35:25
【问题描述】:

我知道如何在 iOS 中获取所有字体的数组。现在我需要检查某些字体是否支持西里尔字符(乌克兰字母)。

【问题讨论】:

    标签: ios unicode fonts uifont


    【解决方案1】:

    我认为您可以使用此功能检查西里尔字符的字体:

    CTFontGetGlyphsForCharacters
    

    如果返回 False,则字体不正确。

    【讨论】:

      猜你喜欢
      • 2011-07-13
      • 1970-01-01
      • 2016-08-09
      • 2011-06-01
      • 2014-06-01
      • 2014-05-07
      • 1970-01-01
      • 2018-05-01
      相关资源
      最近更新 更多