Chinese font display OK and bug report!


14-02-2008 12:30:35

I use ogre1.4.6 + quickgui 0.9.7
All chinese word display normally
but this part must be modified first in QuickGuiTextHelper.h and QuickGuiTextHelper.cpp
Ogre::Real TextHelper::getTextWidth(const Ogre::String& text)
please change to this:
Ogre::Real TextHelper::getTextWidth(const Ogre::UTFString& text)
that make the label autosize width is correct in using chinese or otherwise multibytes words.

sorry for my poor English. :oops:


14-02-2008 17:51:27

Thanks for the feedback, I'll commit this later this evening. :)


19-02-2008 19:01:18