From 60200f28f0cff82ad1eeef376c66f30deb04698f Mon Sep 17 00:00:00 2001 From: zhongjin Date: Mon, 21 Nov 2022 21:13:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'3rdparty/fonts/fnt.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdparty/fonts/fnt.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index 458f65c..05a0ec0 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -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