mirror of https://github.com/arendst/Tasmota.git
LVGL fix montserrat-10 and icons-10 (#20901)
This commit is contained in:
parent
16afaf3c59
commit
3429ebd359
|
@ -429,6 +429,7 @@
|
|||
LV_FONT_DECLARE(robotocondensed_regular_40_latin1) \
|
||||
LV_FONT_DECLARE(robotocondensed_regular_44_latin1) \
|
||||
LV_FONT_DECLARE(robotocondensed_regular_48_latin1) \
|
||||
LV_FONT_DECLARE(lv_font_icons_10) \
|
||||
LV_FONT_DECLARE(lv_font_icons_12) \
|
||||
LV_FONT_DECLARE(lv_font_icons_14) \
|
||||
LV_FONT_DECLARE(lv_font_icons_16) \
|
||||
|
@ -441,6 +442,7 @@
|
|||
// LV_FONT_DECLARE(montserrat_tasmota_20) \
|
||||
// LV_FONT_DECLARE(typicons24) \
|
||||
|
||||
#define FONT_ICONS_10 1
|
||||
#define FONT_ICONS_12 1
|
||||
#define FONT_ICONS_14 0
|
||||
#define FONT_ICONS_16 0
|
||||
|
|
|
@ -284,6 +284,12 @@ extern "C" {
|
|||
// icons Font for sizes not covered by montserrat
|
||||
// if montserrat is defined, use it, else import icons font
|
||||
const lv_font_table_t lv_icons_fonts[] = {
|
||||
#ifdef LV_FONT_MONTSERRAT_TASMOTA_10
|
||||
{ 10, &lv_font_montserrat_tasmota_10 },
|
||||
#elif defined(FONT_ICONS_10)
|
||||
{ 10, &lv_font_icons_10 },
|
||||
#endif
|
||||
|
||||
#ifdef LV_FONT_MONTSERRAT_TASMOTA_12
|
||||
{ 12, &lv_font_montserrat_tasmota_12 },
|
||||
#elif defined(FONT_ICONS_12)
|
||||
|
|
Loading…
Reference in New Issue