![]() |
BSB Developer Docs
|
Loads fonts from storage. More...
Go to the source code of this file.
Macros | |
| #define | RECORD_FONT_REGISTRY "font_registry" |
Typedefs | |
| typedef struct FontRegistry | FontRegistry |
Functions | |
| const lv_font_t * | font_registry_load_font (FontRegistry *instance, const char *font_path) |
| void | font_registry_unload_font (FontRegistry *instance, const lv_font_t *font) |
Loads fonts from storage.
| const lv_font_t * font_registry_load_font | ( | FontRegistry * | instance, |
| const char * | font_path ) |
| [in,out] | instance | FontRegistry instance |
| [in] | font_path | Path to the font in Storage in LVGL format |
| void font_registry_unload_font | ( | FontRegistry * | instance, |
| const lv_font_t * | font ) |
| [in,out] | instance | FontRegistry instance |
| [in] | font | Previously loaded font |