forked from xiaozhi/xiaozhi-esp32
lichuang c3 use smaller font to fit in partition
This commit is contained in:
@@ -15,8 +15,8 @@
|
|||||||
|
|
||||||
#define TAG "LichuangC3DevBoard"
|
#define TAG "LichuangC3DevBoard"
|
||||||
|
|
||||||
LV_FONT_DECLARE(font_puhui_20_4);
|
LV_FONT_DECLARE(font_puhui_16_4);
|
||||||
LV_FONT_DECLARE(font_awesome_20_4);
|
LV_FONT_DECLARE(font_awesome_16_4);
|
||||||
|
|
||||||
class LichuangC3DevBoard : public WifiBoard {
|
class LichuangC3DevBoard : public WifiBoard {
|
||||||
private:
|
private:
|
||||||
@@ -94,8 +94,8 @@ private:
|
|||||||
display_ = new SpiLcdDisplay(panel_io, panel, DISPLAY_BACKLIGHT_PIN, DISPLAY_BACKLIGHT_OUTPUT_INVERT,
|
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,
|
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,
|
.text_font = &font_puhui_16_4,
|
||||||
.icon_font = &font_awesome_20_4,
|
.icon_font = &font_awesome_16_4,
|
||||||
.emoji_font = font_emoji_32_init(),
|
.emoji_font = font_emoji_32_init(),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user