Information Property List Key Reference:
“
ATSApplicationFontsPath
(String
– Mac
OS X) IDentifIEs the location of a
Font file or directory of Fonts in the
bundle’sResources
directory. If
present,Mac OS X activates the Fonts
at the specifIEd path for use by the
bundled application. The Fonts are
activated only for the bundled
application and not for the system as
a whole. The path itself should be
specifIEd as a relative directory of
the bundle’s Resources directory. For
example,if a directory of Fonts was
at the path/Applications/MyApp.app/Contents/Resources/Stuff/MyFonts/
,
you should specify the stringStuff/MyFonts/
for the value of this
key.”
我一定要仔细检查,但我相信这个功能是添加在OS X 10.5.x(由Jinhyung Park发布的代码)。
总结以上是内存溢出为你收集整理的objective-c – Cocoa应用程序中的自定义字体全部内容,希望文章能够帮你解决objective-c – Cocoa应用程序中的自定义字体所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)