更新 '3rdparty/fonts/fnt.cxx'
This commit is contained in:
parent
08d2e254fc
commit
60200f28f0
7
3rdparty/fonts/fnt.cxx
vendored
7
3rdparty/fonts/fnt.cxx
vendored
@ -49,15 +49,17 @@ float fntTexFont::low_putch ( sgVec3 curpos, float pointsize,
|
|||||||
/* Auto case-convert if character is absent from font. */
|
/* Auto case-convert if character is absent from font. */
|
||||||
|
|
||||||
//zhongjin
|
//zhongjin
|
||||||
/*
|
|
||||||
if ( ! exists [ cc ] )
|
if ( ! exists [ cc ] )
|
||||||
{
|
{
|
||||||
|
|
||||||
|
//zhongjin
|
||||||
|
/*
|
||||||
if ( cc >= 'A' && cc <= 'Z' )
|
if ( cc >= 'A' && cc <= 'Z' )
|
||||||
cc = cc - 'A' + 'a' ;
|
cc = cc - 'A' + 'a' ;
|
||||||
else
|
else
|
||||||
if ( cc >= 'a' && cc <= 'z' )
|
if ( cc >= 'a' && cc <= 'z' )
|
||||||
cc = cc - 'a' + 'A' ;
|
cc = cc - 'a' + 'A' ;
|
||||||
|
*/
|
||||||
if ( cc == ' ' )
|
if ( cc == ' ' )
|
||||||
{
|
{
|
||||||
curpos [ 0 ] += pointsize / 2.0f ;
|
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
|
We might want to consider making some absent characters from
|
||||||
|
Loading…
Reference in New Issue
Block a user