lv_font_loader.h

Functions

lv_font_t *lv_font_load(const char *fontName)

Loads a lv_font_t object from a binary font file

Parameters:

font_name -- filename where the font file is located

Returns:

a pointer to the font or NULL in case of error

void lv_font_free(lv_font_t *font)

Frees the memory allocated by the lv_font_load() function

Parameters:

font -- lv_font_t object created by the lv_font_load function