From 77db38ca4c0d5c566fb71adf6f507cfe7f6fac54 Mon Sep 17 00:00:00 2001 From: Terrence Date: Tue, 25 Feb 2025 02:32:40 +0800 Subject: [PATCH] lichuang c3 use smaller font to fit in partition --- main/boards/lichuang-c3-dev/lichuang_c3_dev_board.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main/boards/lichuang-c3-dev/lichuang_c3_dev_board.cc b/main/boards/lichuang-c3-dev/lichuang_c3_dev_board.cc index 5305b5bb..b0c4bfa1 100644 --- a/main/boards/lichuang-c3-dev/lichuang_c3_dev_board.cc +++ b/main/boards/lichuang-c3-dev/lichuang_c3_dev_board.cc @@ -15,8 +15,8 @@ #define TAG "LichuangC3DevBoard" -LV_FONT_DECLARE(font_puhui_20_4); -LV_FONT_DECLARE(font_awesome_20_4); +LV_FONT_DECLARE(font_puhui_16_4); +LV_FONT_DECLARE(font_awesome_16_4); class LichuangC3DevBoard : public WifiBoard { private: @@ -94,8 +94,8 @@ private: display_ = new SpiLcdDisplay(panel_io, panel, DISPLAY_BACKLIGHT_PIN, DISPLAY_BACKLIGHT_OUTPUT_INVERT, DISPLAY_WIDTH, DISPLAY_HEIGHT, DISPLAY_OFFSET_X, DISPLAY_OFFSET_Y, DISPLAY_MIRROR_X, DISPLAY_MIRROR_Y, DISPLAY_SWAP_XY, { - .text_font = &font_puhui_20_4, - .icon_font = &font_awesome_20_4, + .text_font = &font_puhui_16_4, + .icon_font = &font_awesome_16_4, .emoji_font = font_emoji_32_init(), }); }