UIFont From File?
Is it possible to load a UIFont from file to use for my UI? Or are we just stuck with the fonts available on the device? I was hoping to use a UILabel for displaying some data because I will be changing it during gameplay, but I also want to be able to use a custom font I have. Can it be done?
Hm, never mind. Seems like at least the font I want I can set in IB and it will show up just fine on the phone.
OSC said you just need to add a key in the Info.plist which points to your font. I haven't tried it myself yet on either Mac or iPhone, but I figured it was worth mentioning in case you change your mind.
Here's a link to Apple with a list of keys: http://developer.apple.com/documentation...tKeys.html
Looks like ATSApplicationFontsPath would be the one to try.
[adding] I have no idea if this is valid for iPhone as well
Looks like ATSApplicationFontsPath would be the one to try.
[adding] I have no idea if this is valid for iPhone as well

