|
|
|
@ -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
|
|
|
|
|