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

This commit is contained in:
zhongjin 2022-11-22 00:21:32 +08:00
parent 793cb30fac
commit 2855aa8f1f

View File

@ -184,8 +184,12 @@ void fntTexFont::getBBox ( const char *s,
// unsigned int cc = (unsigned char) *(s++) ; // unsigned int cc = (unsigned char) *(s++) ;
unsigned int cc = (unsigned char) *(s++) ; unsigned int cc = (unsigned char) *(s++) ;
SG_LOG(SG_GUI,SG_ALERT, "cc=" << cc); if ((cc & 0x80)==0) {
SG_LOG(SG_GUI,SG_ALERT, "ASSIC cc=" << cc);
}
if ( (cc & 0XE0) == 1) {
SG_LOG(SG_GUI,SG_ALERT, "UTF8 cc=" << cc);
}
if ( ! exists [ cc ] ) if ( ! exists [ cc ] )
{ {