Finally iPhone OS 3.2 supports custom fonts. Here is a short summary what you have to do..
Supported font formats are ..
- TrueType-flavoured OpenType (extension .ttf) and
- PostScript-flavoured OpenType (extension .otf).
Ok what you have to do is simple ..
- just add the key UIAppFonts as array to your Info.plist
- add the *.ttf or *.otf files to your bundle
- insert the filenames as values to your UIAppFonts array
- Load the fonts with ..
// use the font name here, not the filename
UIFont *myCustomFont = [UIFont fontWithName:@"AnnabelScript" size:30];
Note: You can also use the fonts in your UIWebViews with font-tags or CSS.
//