lv_binfont_loader.h

Functions

lv_font_t *lv_binfont_create(const char *font_name)

Loads a lv_font_t object from a binary font file

参数:

path -- path where the font file is located

返回:

pointer to font where to load

void lv_binfont_destroy(lv_font_t *font)

Frees the memory allocated by the lv_binfont_create() function

参数:

font -- lv_font_t object created by the lv_binfont_create function