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

next
zhongjin 2 years ago
parent c36dd8fa37
commit df052d400c

@ -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…
Cancel
Save