前言

基于Core Text中根据Postscript name创建CGFontRef字体对象的CGFontCreateWithFontName(Postscript name)方法,需要知道Postscript name

操作如下

  1. Open the Font Book application. (It should be in your Applications folder.)

  2. Select the font you need the Postscript Name for.

  3. Select Show Font Info from the Preview Menu. ( Or use ⌘+i).

screenshot:fontbook font info

如何获取OSX中的Postscript name

参考

相关文章: