ChikabuZ
ChikabuZ

Reputation: 10205

Check if certain character is supported by UIFont

I know how to get the array of all fonts in iOS. Now I need to check if certain font support Cyrillic characters (Ukrainian alphabet).

Upvotes: 2

Views: 587

Answers (1)

opedge
opedge

Reputation: 1542

I think you can check font for Cyrillic characters using this function:

CTFontGetGlyphsForCharacters

If it returns False the font is improper.

Upvotes: 3

Related Questions