更新 '3rdparty/fonts/fnt.cxx'
This commit is contained in:
Vendored
+4
-3
@@ -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 ) ;
|
||||||
|
|||||||
Reference in New Issue
Block a user