开发者

iPad Custom Font

is there a way to load an own Font with the iPad SDK? I can开发者_如何学编程not find a useful example of what file-type the font has to be or how the LIB of the iPad is called.

Can you provide further informations?


Here is a very simple description what you have to do.


UIAppFonts (Array - iPhone OS) specifies any application-provided fonts that should be made available through the normal mechanisms. Each item in the array is a string containing the name of a font file (including filename extension) that is located in the application’s bundle. The system loads the specified fonts and makes them available for use by the application when that application is run.

http://developer.apple.com/iphone/library/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW18

Ahead is a note from iPad Human Interface Guidelines

Note that fonts of type .ttf or .otf work on iPad; traditional Mac OS fonts (that is, Classic font suitcases) do not work on iPad.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜