pcbeard / iphonefrotz

Automatically exported from code.google.com/p/iphonefrotz
Other
0 stars 0 forks source link

Add custom map font support for Beyond Zork #160

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
iOS 3.2/4 now support custom fonts.

I'll have to drop support for iOS 3, but it looks like it won't be too hard to 
do:

Custom Font Support
Applications that want to use custom fonts can now include those fonts in their 
application bundle and register those fonts with the system by including the 
UIAppFonts key in their Info.plist file. The value of this key is an array of 
strings identifying the font files in the application’s bundle. When the 
system sees the key, it loads the specified fonts and makes them available to 
the application.

Once the fonts have been set in the Info.plist, you can use your custom fonts 
as any other font in IB or programatically. 

There is an ongoing thread on Apple Developer Forums: 
https://devforums.apple.com/thread/37824 (login required)

And here's an excellent and simple 3 steps tutorial on how to achieve this.

Original issue reported on code.google.com by spath...@gmail.com on 11 Jun 2011 at 8:16

GoogleCodeExporter commented 8 years ago

Original comment by spath...@gmail.com on 23 Oct 2012 at 6:12