From c5c957a79d1c4a4342059d3449df1b48d8fec4d8 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 22 Nov 2022 12:08:48 +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, 6 insertions(+), 2 deletions(-) diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index 098d38e..7729fb5 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -288,9 +288,13 @@ void fntTexFont::puts ( sgVec3 curpos, float pointsize, float italic, const char } else - SG_LOG(SG_GUI,SG_ALERT, "low_putch " << *s); + unsigned int cc = (unsigned char) *s ; - low_putch ( curpos, pointsize, italic, *s ) ; + + SG_LOG(SG_GUI,SG_ALERT, "low_putch " << cc); + + //low_putch ( curpos, pointsize, italic, *s ) ; + low_putch ( curpos, pointsize, italic, cc ) ; s++ ; }