diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index 71595ad..1ec2dfb 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -210,6 +210,8 @@ void fntTexFont::getBBox ( const char *s, y= y + (cc & 0x3F); SG_LOG(SG_GUI,SG_ALERT, "x=" << x << ",y=" << y); + + cc = x * 256 + y; } if ( ! exists [ cc ] )