From dccef161805171a9271ab3ebe50d0cc261c53a65 Mon Sep 17 00:00:00 2001 From: JF Date: Sun, 1 Mar 2020 21:15:39 +0100 Subject: [PATCH] Remove default lvgl font (roboto). --- src/CMakeLists.txt | 2 +- src/libs/lv_conf.h | 4 ++-- 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