From 9a0718a88990bcc70ef8deac29aa46bc4e72ac11 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Mon, 21 Nov 2022 23:33:18 +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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index 071617c..50e619e 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -165,6 +165,9 @@ void fntTexFont::getBBox ( const char *s, float v_pos = 0.0f ; float l, r, b, t ; + //zhongjin + SG_LOG(SG_GUI,SG_ALERT, "getBBox " << s); + l = r = b = t = 0.0f ; while ( *s != '\0' )