update surfer-c3-1.14tft font size

This commit is contained in:
Terrence
2025-09-05 11:57:46 +08:00
parent 1e94e884b8
commit 73dbeb4b9a

View File

@@ -21,8 +21,8 @@
#define TAG "SURFERC3114TFT"
LV_FONT_DECLARE(font_puhui_16_4);
LV_FONT_DECLARE(font_awesome_16_4);
LV_FONT_DECLARE(font_puhui_20_4);
LV_FONT_DECLARE(font_awesome_20_4);
class SurferC3114TFT : public WifiBoard {
private:
@@ -148,8 +148,8 @@ private:
display_ = new SpiLcdDisplay(panel_io_, panel_,
DISPLAY_WIDTH, DISPLAY_HEIGHT, DISPLAY_OFFSET_X, DISPLAY_OFFSET_Y, DISPLAY_MIRROR_X, DISPLAY_MIRROR_Y, DISPLAY_SWAP_XY,
{
.text_font = &font_puhui_16_4,
.icon_font = &font_awesome_16_4,
.text_font = &font_puhui_20_4,
.icon_font = &font_awesome_20_4,
.emoji_font = font_emoji_32_init(),
});
}