fontLoadRW

Home


The fontLoadRW function allows you to load memory mapped files into FontLib.

Prototype

bool fontLoadRW(unsigned char* file, unsigned long filesize);

Parameters

file
a char* of a pack file
filesize
The size of the file

Remarks

If you'd like to load files, use fontLoad() instead. This function is useful if you want to create a packed file format and send the images to Fontlib.

Error Codes

This function returns false if image failed to load. true if image was sucessful