更新 '3rdparty/fonts/fnt.cxx'
This commit is contained in:
parent
c36dd8fa37
commit
df052d400c
5
3rdparty/fonts/fnt.cxx
vendored
5
3rdparty/fonts/fnt.cxx
vendored
@ -233,9 +233,12 @@ void fntTexFont::getBBox ( const char *s,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! exists [ cc ] )
|
if ( ! exists [ cc ] ) {
|
||||||
|
SG_LOG(SG_GUI,SG_ALERT, "未找到字符");
|
||||||
continue ;
|
continue ;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if ( italic >= 0 )
|
if ( italic >= 0 )
|
||||||
{
|
{
|
||||||
if ( l > h_pos + v_left [cc] ) l = h_pos + v_left [cc] ;
|
if ( l > h_pos + v_left [cc] ) l = h_pos + v_left [cc] ;
|
||||||
|
Loading…
Reference in New Issue
Block a user