开发者

Cannot load custom fonts in Postscript Type 1 format

I have no problem to load custom fonts in formats of .otf or .ttf.

But my client sent me a DIN font suite in Postscript Type 1, which has no file name suffix. What I did: 1. added font file to Xcode 4. Xcode 4 can generate font preview 2. revised .plist file, by inserting rows to "Fonts provided by application" 3. use [UIFont fontWithName: size:] method to load custom font

what I received: upon app starts, a log messag开发者_开发问答e was generated in console saying ": FT_Open_Face failed: error 85."

Please guide me, thank you!


I think it's only possible to use .ttf and .otf custom fonts for this case.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜