objective-cmacosnsfont

Getting all characters from NSFont


I have custom NSFont (FontAwesome) and I would like to get all characters from this font. I've looked through all the documentation about fonts, but can't find anything do display it all.

Any ideas how can I do it?


Solution

  • If you really want to get all characters, you can use -coveredCharacterSet.

    Otherwise, esp. if you want to get the glyph shapes, precise your Q. This will be a longer A.