From 88a9cbe2ca95c636b62c2eb395e19b2d5a7945dc Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 22 Nov 2022 12:28:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'3rdparty/fonts/fnt.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdparty/fonts/fnt.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index 5207c9b..6fd6529 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -169,7 +169,7 @@ void fntTexFont::getBBox ( const char *s, float l, r, b, t ; //zhongjin - //SG_LOG(SG_GUI,SG_ALERT, "getBBox " << s); + SG_LOG(SG_GUI,SG_ALERT, "getBBox " << s); l = r = b = t = 0.0f ; @@ -213,7 +213,7 @@ void fntTexFont::getBBox ( const char *s, cc = x * 256 + y; - //SG_LOG(SG_GUI,SG_ALERT, "UTF8 cc=" << cc); + SG_LOG(SG_GUI,SG_ALERT, "GBK cc=" << cc); } @@ -303,10 +303,10 @@ void fntTexFont::puts ( sgVec3 curpos, float pointsize, float italic, const char y= y + (cc & 0x3F); //SG_LOG(SG_GUI,SG_ALERT, "x=" << x << ",y=" << y); cc = x * 256 + y; - //SG_LOG(SG_GUI,SG_ALERT, "UTF8 cc=" << cc); + SG_LOG(SG_GUI,SG_ALERT, "GBK cc=" << cc); } - SG_LOG(SG_GUI,SG_ALERT, "lputs->ow_putch " << cc); + SG_LOG(SG_GUI,SG_ALERT, "puts->low_putch " << cc); //low_putch ( curpos, pointsize, italic, *s ) ; low_putch ( curpos, pointsize, italic, cc ) ;