summaryrefslogtreecommitdiff
path: root/src/libs/lv_conf.h
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-27 06:34:27 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-27 06:34:27 (GMT)
commit9ce1d4ef0bb444f67b0fab505e57e1b4e714ddf0 (patch)
tree7c10745075c32e10da41eb30c119ed44232c432c /src/libs/lv_conf.h
parenta54a8c1d53e5b6013fde067a35e9fe4ea1201995 (diff)
parent272e8d5daf22bd15fbdf6163b71b2ee7994e225a (diff)
Use neofont instead of other bitmap fonts: size reduced to 237416
Diffstat (limited to 'src/libs/lv_conf.h')
-rw-r--r--src/libs/lv_conf.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/libs/lv_conf.h b/src/libs/lv_conf.h
index dd1b68c..c1af42d 100644
--- a/src/libs/lv_conf.h
+++ b/src/libs/lv_conf.h
@@ -413,8 +413,7 @@ typedef void* lv_indev_drv_user_data_t; /*Type of user data in the in
* LV_FONT_DECLARE(my_font_2)
*/
-#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(jetbrains_mono_bold_20) \
- LV_FONT_DECLARE(jetbrains_mono_extrabold_compressed) \
+#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(neofont2) \
LV_FONT_DECLARE(lv_font_sys_48)
/* Enable it if you have fonts with a lot of characters.
@@ -425,7 +424,7 @@ typedef void* lv_indev_drv_user_data_t; /*Type of user data in the in
/* Enables/disables support for compressed fonts. If it's disabled, compressed
* glyphs cannot be processed by the library and won't be rendered.
*/
-#define LV_USE_FONT_COMPRESSED 1
+#define LV_USE_FONT_COMPRESSED 0
/* Enable subpixel rendering */
#define LV_USE_FONT_SUBPX 0
@@ -475,10 +474,10 @@ typedef void* lv_font_user_data_t;
#define LV_THEME_DEFAULT_COLOR_PRIMARY lv_color_hex(0xffffff)
#define LV_THEME_DEFAULT_COLOR_SECONDARY lv_color_hex(0xaaaaaa)
#define LV_THEME_DEFAULT_FLAG 0//LV_THEME_MATERIAL_FLAG_DARK
-#define LV_THEME_DEFAULT_FONT_SMALL &jetbrains_mono_bold_20
-#define LV_THEME_DEFAULT_FONT_NORMAL &jetbrains_mono_bold_20
-#define LV_THEME_DEFAULT_FONT_SUBTITLE &jetbrains_mono_bold_20
-#define LV_THEME_DEFAULT_FONT_TITLE &jetbrains_mono_bold_20
+#define LV_THEME_DEFAULT_FONT_SMALL &neofont2
+#define LV_THEME_DEFAULT_FONT_NORMAL &neofont2
+#define LV_THEME_DEFAULT_FONT_SUBTITLE &neofont2
+#define LV_THEME_DEFAULT_FONT_TITLE &neofont2
/*=================
* Text settings