mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
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_40_latin1) \
|
||||||
LV_FONT_DECLARE(robotocondensed_regular_44_latin1) \
|
LV_FONT_DECLARE(robotocondensed_regular_44_latin1) \
|
||||||
LV_FONT_DECLARE(robotocondensed_regular_48_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_12) \
|
||||||
LV_FONT_DECLARE(lv_font_icons_14) \
|
LV_FONT_DECLARE(lv_font_icons_14) \
|
||||||
LV_FONT_DECLARE(lv_font_icons_16) \
|
LV_FONT_DECLARE(lv_font_icons_16) \
|
||||||
@ -441,6 +442,7 @@
|
|||||||
// LV_FONT_DECLARE(montserrat_tasmota_20) \
|
// LV_FONT_DECLARE(montserrat_tasmota_20) \
|
||||||
// LV_FONT_DECLARE(typicons24) \
|
// LV_FONT_DECLARE(typicons24) \
|
||||||
|
|
||||||
|
#define FONT_ICONS_10 1
|
||||||
#define FONT_ICONS_12 1
|
#define FONT_ICONS_12 1
|
||||||
#define FONT_ICONS_14 0
|
#define FONT_ICONS_14 0
|
||||||
#define FONT_ICONS_16 0
|
#define FONT_ICONS_16 0
|
||||||
|
@ -284,6 +284,12 @@ extern "C" {
|
|||||||
// icons Font for sizes not covered by montserrat
|
// icons Font for sizes not covered by montserrat
|
||||||
// if montserrat is defined, use it, else import icons font
|
// if montserrat is defined, use it, else import icons font
|
||||||
const lv_font_table_t lv_icons_fonts[] = {
|
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
|
#ifdef LV_FONT_MONTSERRAT_TASMOTA_12
|
||||||
{ 12, &lv_font_montserrat_tasmota_12 },
|
{ 12, &lv_font_montserrat_tasmota_12 },
|
||||||
#elif defined(FONT_ICONS_12)
|
#elif defined(FONT_ICONS_12)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user