fontLoad
The fontLoad function allows you to individually load byte format widths and .tga images from bitmapfont builder.
Prototype
bool fontLoad(char* ImageData, char* WidthData, char* name1, char* name2);
Parameters
- ImageData
- .tga file which contains the texture you'd like to load
- WidthData
- the byte width data file you'd like the library to load
- name1
- The name of font #1(under 10 characters)
- name2
- The name of font #2(under 10 characters)
Remarks
If you'd like to load images from memory, use LoadRW. FontLib will continually add fonts, so you may load as many fonts as you'd like using this function.
Error Codes
This function returns false if image failed to load. true if image was successful