更新 '3rdparty/fonts/fnt.cxx'

This commit is contained in:
2022-11-22 12:11:17 +08:00
parent c5c957a79d
commit f4e5c5e7ab
+4 -3
View File
@@ -281,6 +281,9 @@ void fntTexFont::puts ( sgVec3 curpos, float pointsize, float italic, const char
while ( *s != '\0' ) while ( *s != '\0' )
{ {
unsigned int cc = (unsigned char) *s ;
if (*s == '\n') if (*s == '\n')
{ {
curpos[0] = origx ; curpos[0] = origx ;
@@ -288,10 +291,8 @@ void fntTexFont::puts ( sgVec3 curpos, float pointsize, float italic, const char
} }
else else
unsigned int cc = (unsigned char) *s ;
SG_LOG(SG_GUI,SG_ALERT, "lputs->ow_putch " << cc);
SG_LOG(SG_GUI,SG_ALERT, "low_putch " << cc);
//low_putch ( curpos, pointsize, italic, *s ) ; //low_putch ( curpos, pointsize, italic, *s ) ;
low_putch ( curpos, pointsize, italic, cc ) ; low_putch ( curpos, pointsize, italic, cc ) ;