fontLoad

Home


The fontLoad function allows you to load Fontlib's own pack files.

Prototype

bool fontLoad(char* filename);

Parameters

filename
The name of the pack file you'd like to load

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