更新 '3rdparty/fonts/fnt.cxx'
This commit is contained in:
8
3rdparty/fonts/fnt.cxx
vendored
8
3rdparty/fonts/fnt.cxx
vendored
@@ -61,7 +61,7 @@ float fntTexFont::low_putch ( sgVec3 curpos, float pointsize,
|
||||
cc = cc - 'a' + 'A' ;
|
||||
*/
|
||||
|
||||
SG_LOG(SG_GUI,SG_ALERT, "low_putch 未找到字符 cc=" << cc);
|
||||
//SG_LOG(SG_GUI,SG_ALERT, "low_putch 未找到字符 cc=" << cc);
|
||||
|
||||
if ( cc == ' ' )
|
||||
{
|
||||
@@ -138,7 +138,7 @@ int fntTexFont::getGlyph ( char c, float* wid,
|
||||
float *vtx_bot , float *vtx_top )
|
||||
{
|
||||
//zhongjin
|
||||
SG_LOG(SG_GUI,SG_ALERT, "getGlyph " << c);
|
||||
//SG_LOG(SG_GUI,SG_ALERT, "getGlyph " << c);
|
||||
unsigned int cc = (unsigned char) c ;
|
||||
|
||||
if ( ! exists[cc] ) return FNT_FALSE ;
|
||||
@@ -238,7 +238,7 @@ void fntTexFont::getBBox ( const char *s,
|
||||
}
|
||||
|
||||
if ( ! exists [ cc ] ) {
|
||||
SG_LOG(SG_GUI,SG_ALERT, "getBBox 未找到字符 cc=" << cc);
|
||||
//SG_LOG(SG_GUI,SG_ALERT, "getBBox 未找到字符 cc=" << cc);
|
||||
continue ;
|
||||
}
|
||||
|
||||
@@ -279,7 +279,7 @@ void fntTexFont::puts ( sgVec3 curpos, float pointsize, float italic, const char
|
||||
bind_texture () ;
|
||||
|
||||
//zhongjin
|
||||
SG_LOG(SG_GUI,SG_ALERT, "puts " << s);
|
||||
//SG_LOG(SG_GUI,SG_ALERT, "puts " << s);
|
||||
|
||||
while ( *s != '\0' )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user