From 33084b507fe2f45d6d63ac14603506b5bcc5d29f Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 22 Nov 2022 01:18:47 +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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index 71595ad..1ec2dfb 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -210,6 +210,8 @@ void fntTexFont::getBBox ( const char *s, y= y + (cc & 0x3F); SG_LOG(SG_GUI,SG_ALERT, "x=" << x << ",y=" << y); + + cc = x * 256 + y; } if ( ! exists [ cc ] )