Closed Ybalrid closed 7 years ago
This is duplicated, ugly code that came from a Wiki. The same exact code is also found inside the AnnConsole class, but doesn't handle spaces in non-monospaced fonts correctly there.
it's now a single static method part of the console component, with the space width fix and that take a pointer to the Ogre::Font* you want.
This is duplicated, ugly code that came from a Wiki. The same exact code is also found inside the AnnConsole class, but doesn't handle spaces in non-monospaced fonts correctly there.