From 827e9d3eaaf64c85aad059f5ca6d8d9e8477d7c3 Mon Sep 17 00:00:00 2001 From: neonman63 <5744486+neonman63@users.noreply.github.com> Date: Fri, 11 Oct 2024 15:49:17 +0300 Subject: [PATCH] fix def fonts --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 4406d9d..da86933 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -85,8 +85,8 @@ static void hal_init(lv_color_t primary, lv_color_t secondary) { spdlog::debug("resolution {} x {}", width, height); lv_disp_t * disp = lv_disp_drv_register(&disp_drv); lv_theme_t * th = height <= 480 - ? lv_theme_default_init(NULL, primary, secondary, true, &lv_font_montserrat_12) - : lv_theme_default_init(NULL, primary, secondary, true, &lv_font_montserrat_20); + ? lv_theme_default_init(NULL, primary, secondary, true, &lv_font_notosans_12) + : lv_theme_default_init(NULL, primary, secondary, true, &lv_font_notosans_20); lv_disp_set_theme(disp, th); evdev_init(); @@ -142,8 +142,8 @@ static void hal_init(lv_color_t primary, lv_color_t secondary) lv_disp_t * disp = lv_disp_drv_register(&disp_drv); lv_theme_t * th = MONITOR_HOR_RES <= 480 - ? lv_theme_default_init(NULL, primary, secondary, true, &lv_font_montserrat_12) - : lv_theme_default_init(NULL, primary, secondary, true, &lv_font_montserrat_16); + ? lv_theme_default_init(NULL, primary, secondary, true, &lv_font_notosans_12) + : lv_theme_default_init(NULL, primary, secondary, true, &lv_font_notosans_16); lv_disp_set_theme(disp, th); lv_group_t * g = lv_group_create();