int FontAdd(char *foldername);
Load a custom bitmap font. Font folders must be placed in the Debug/Assets folder of your project.
Returns an int handle to the loaded font.
Folder in which font images are stored. This path is relative to the Assets folder in your Application's folder.
NOTE: The file system used by iOS is case sensitive, so be sure to match the case of the file name in your code to that of the file on your computer.
The FontAdd() function loads images specified by foldername to memory. Use TextAdd() to add text using a specific font. You may create your own font images using the DragonFireSDK Font Generator utility that ships with DragonFireSDK, and is located in the folder where you installed DragonFireSDK.
Available in DragonFireSDK 1.0 and later.
Description: This program will load text images from a folder named FontMedium, add "Hello" at 0, 0 using FontMedium and "Bye" at 100, 0 using FontMedium.
FontMedium = FontAdd("FontMedium");
TextAdd( 0, 0, "Hello", FontMedium);
TextAdd(100, 0, "Bye", FontMedium);