darkdragon
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.
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.
