summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-03-01 21:15:39 +0100
committerJF <jf@codingfield.com>2020-03-01 21:15:39 +0100
commitdccef161805171a9271ab3ebe50d0cc261c53a65 (patch)
tree337b4e6c4f30c9cc0ab40229e48ef6803ba71217
parent6f1857c50397aa26d1b16ded6bbb4e6952f3762e (diff)
Remove default lvgl font (roboto).
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/libs/lv_conf.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 86ef8869..c93feb38 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -119,7 +119,7 @@ set(LVGL_SRC
libs/lvgl/src/lv_font/lv_font.h
libs/lvgl/src/lv_font/lv_font_fmt_txt.c
libs/lvgl/src/lv_font/lv_font_fmt_txt.h
- libs/lvgl/src/lv_font/lv_font_roboto_16.c
+# libs/lvgl/src/lv_font/lv_font_roboto_16.c
libs/lvgl/src/lv_font/lv_symbol_def.h
libs/lvgl/src/lv_themes/lv_theme.c
diff --git a/src/libs/lv_conf.h b/src/libs/lv_conf.h
index f24c0b99..2f9c00e7 100644
--- a/src/libs/lv_conf.h
+++ b/src/libs/lv_conf.h
@@ -299,7 +299,7 @@ typedef void * lv_indev_drv_user_data_t; /*Type of user data in the i
/* Robot fonts with bpp = 4
* https://fonts.google.com/specimen/Roboto */
#define LV_FONT_ROBOTO_12 0
-#define LV_FONT_ROBOTO_16 1
+#define LV_FONT_ROBOTO_16 0
#define LV_FONT_ROBOTO_22 0
#define LV_FONT_ROBOTO_28 0
@@ -320,7 +320,7 @@ typedef void * lv_indev_drv_user_data_t; /*Type of user data in the i
#define LV_FONT_CUSTOM_DECLARE
/*Always set a default font from the built-in fonts*/
-#define LV_FONT_DEFAULT &lv_font_roboto_16
+#define LV_FONT_DEFAULT NULL; // The default font is specified in the custom theme.
/* Enable it if you have fonts with a lot of characters.
* The limit depends on the font size, font face and bpp