From 1b784811d74c7a8cb0d7c4f29f69fe8f84fe86b2 Mon Sep 17 00:00:00 2001 From: HEYAHONG <2229388563@qq.com> Date: Sun, 8 Dec 2024 18:10:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hbox/gui/hgui_gui_dotfont.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hbox/gui/hgui_gui_dotfont.c b/hbox/gui/hgui_gui_dotfont.c index 0f34fe4..07c2a14 100644 --- a/hbox/gui/hgui_gui_dotfont.c +++ b/hbox/gui/hgui_gui_dotfont.c @@ -590,19 +590,19 @@ static bool ascii_show_char(const hgui_gui_dotfont_t * dotfont,uint32_t Char,siz { if(size1==8) { - temp=ascii_0806[chr1][i]; //调用0806字体 + temp=dotfont->font[chr1*6+i]; //调用0806字体 } else if(size1==12) { - temp=ascii_1206[chr1][i]; //调用1206字体 + temp=dotfont->font[chr1*12+i]; //调用1206字体 } else if(size1==16) { - temp=ascii_1608[chr1][i]; //调用1608字体 + temp=dotfont->font[chr1*16+i]; //调用1608字体 } else if(size1==24) { - temp=ascii_2412[chr1][i]; //调用2412字体 + temp=dotfont->font[chr1*36+i]; //调用2412字体 } else {