Operating System: windows
I'm porting my game from 1.12.13 to 1.13, and I have some code that helps me compute the size of a sentence. The sentence is in wstring to be compatible with french or german characters.
It was working well until 1.13.
What should I do to update my code?
S.
Code: Select all
std::wstring longestLine;
Ogre::FontPtr mpFont = Ogre::FontManager::getSingleton().getByName(fontName, Game::getSingletonPtr()->gameName);
Ogre::Real fAspectRatio = mpFont->getGlyphAspectRatio(static_cast<Ogre::Font::CodePoint>(longestLine[iChar]));