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

This commit is contained in:
zhongjin 2022-11-21 21:13:44 +08:00
parent 08d2e254fc
commit 60200f28f0

View File

@ -49,15 +49,17 @@ float fntTexFont::low_putch ( sgVec3 curpos, float pointsize,
/* Auto case-convert if character is absent from font. */
//zhongjin
/*
if ( ! exists [ cc ] )
{
//zhongjin
/*
if ( cc >= 'A' && cc <= 'Z' )
cc = cc - 'A' + 'a' ;
else
if ( cc >= 'a' && cc <= 'z' )
cc = cc - 'a' + 'A' ;
*/
if ( cc == ' ' )
{
curpos [ 0 ] += pointsize / 2.0f ;
@ -65,7 +67,6 @@ float fntTexFont::low_putch ( sgVec3 curpos, float pointsize,
}
}
*/
/*
We might want to consider making some absent characters from