From 71e2ca2b8c819d66959df7d1361a1feccf09d9f0 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 22 Nov 2022 00:38:13 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index 54eddc3..302caaf 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -195,9 +195,10 @@ void fntTexFont::getBBox ( const char *s, x= x + (cc<<2) >> 4; - int y = (cc & 0X03 )<< 6 + (unsigned char) *(s++) & 0X7F + int y = (cc & 0X03 )<< 6 + (unsigned char) *(s++) & 0X7F; cc = x * 256 + y; + SG_LOG(SG_GUI,SG_ALERT, "U =" << cc); } if ( ! exists [ cc ] )