Function TCOD_load_bdf_memory

Function Documentation

TCOD_Tileset *TCOD_load_bdf_memory(int size, const unsigned char *buffer)

Load a BDF font from memory.

size is the byte length of buffer. buffer is the BDF data to load.

May return NULL on failure. See TCOD_get_error for the error message.

New in version 1.16.