diff --git a/source/shared_lib/sources/graphics/font.cpp b/source/shared_lib/sources/graphics/font.cpp index 76a565c8..fc78fd1c 100644 --- a/source/shared_lib/sources/graphics/font.cpp +++ b/source/shared_lib/sources/graphics/font.cpp @@ -110,8 +110,8 @@ Text * FontMetrics::getTextHandler() { float FontMetrics::getTextWidth(const string &str) { if(textHandler != NULL) { //printf("str [%s] textHandler->Advance = %f Font::scaleFontValue = %f\n",str.c_str(),textHandler->Advance(str.c_str()),Font::scaleFontValue); - //return (textHandler->Advance(str.c_str()) * Font::scaleFontValue); - return (textHandler->Advance(str.c_str())); + return (textHandler->Advance(str.c_str()) * Font::scaleFontValue); + //return (textHandler->Advance(str.c_str())); } else { float width= 0.f;