Philippe G 3 年之前
父節點
當前提交
2332e22d99
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      components/display/core/gds_text.c

+ 2 - 0
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: