更新 '3rdparty/fonts/fnt.cxx'
This commit is contained in:
parent
4b45a919ff
commit
88a9cbe2ca
8
3rdparty/fonts/fnt.cxx
vendored
8
3rdparty/fonts/fnt.cxx
vendored
@ -169,7 +169,7 @@ void fntTexFont::getBBox ( const char *s,
|
||||
float l, r, b, t ;
|
||||
|
||||
//zhongjin
|
||||
//SG_LOG(SG_GUI,SG_ALERT, "getBBox " << s);
|
||||
SG_LOG(SG_GUI,SG_ALERT, "getBBox " << s);
|
||||
|
||||
|
||||
l = r = b = t = 0.0f ;
|
||||
@ -213,7 +213,7 @@ void fntTexFont::getBBox ( const char *s,
|
||||
|
||||
cc = x * 256 + y;
|
||||
|
||||
//SG_LOG(SG_GUI,SG_ALERT, "UTF8 cc=" << cc);
|
||||
SG_LOG(SG_GUI,SG_ALERT, "GBK cc=" << cc);
|
||||
|
||||
}
|
||||
|
||||
@ -303,10 +303,10 @@ void fntTexFont::puts ( sgVec3 curpos, float pointsize, float italic, const char
|
||||
y= y + (cc & 0x3F);
|
||||
//SG_LOG(SG_GUI,SG_ALERT, "x=" << x << ",y=" << y);
|
||||
cc = x * 256 + y;
|
||||
//SG_LOG(SG_GUI,SG_ALERT, "UTF8 cc=" << cc);
|
||||
SG_LOG(SG_GUI,SG_ALERT, "GBK cc=" << cc);
|
||||
}
|
||||
|
||||
SG_LOG(SG_GUI,SG_ALERT, "lputs->ow_putch " << cc);
|
||||
SG_LOG(SG_GUI,SG_ALERT, "puts->low_putch " << cc);
|
||||
|
||||
//low_putch ( curpos, pointsize, italic, *s ) ;
|
||||
low_putch ( curpos, pointsize, italic, cc ) ;
|
||||
|
Loading…
Reference in New Issue
Block a user