From 2332e22d9916334c8ef9dcf677693e1163eabfe5 Mon Sep 17 00:00:00 2001 From: Philippe G Date: Mon, 27 Dec 2021 19:34:06 -0800 Subject: [PATCH] fonts --- components/display/core/gds_text.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/display/core/gds_text.c b/components/display/core/gds_text.c index 36883e23..468414ba 100644 --- a/components/display/core/gds_text.c +++ b/components/display/core/gds_text.c @@ -26,6 +26,8 @@ static char TAG[] = "gds"; */ static const struct GDS_FontDef *GuessFont( struct GDS_Device *Device, int FontType) { switch(FontType) { + case GDS_FONT_DEFAULT: + return Device->Font; case GDS_FONT_LINE_1: return &Font_line_1; case GDS_FONT_LINE_2: