2010-04-27 43 views
1

如何在我的iPhone应用程序中加载和嵌入自定义字体?什么字体文件类型被支持? (otf,ttf ...)iphone objective-c自定义字体

+1

这是http://stackoverflow.com/questions/360751/can-i-embed-a-custom-font-in-an-iphone-application的副本 – 2010-04-27 17:11:50

回答

3

可以为您的应用程序提供字体并使用它们。看看CGFontCreateWithDataProvider,它应该提供您需要的所有功能。

至少TTF支持,不确定OTF。