UTFString character problem

Jekteir

28-10-2007 20:39:05

Please see this topic in the Help forum -- it relates to QuickGUI and UTFStrings:

http://www.ogre3d.org/phpBB2/viewtopic.php?p=254082

Thanks,

Jek

kungfoomasta

29-10-2007 00:08:37

Unfortunately I have next to no knowledge of UTF and ASCII characters.. :P

So if I read the other thread right, the real problem is that OIS will only give you code points, yet you want an extended ASCII character.

This is a big part of how Ogre::Font is used in QuickGUI:

const UVRect & getGlyphTexCoords (CodePoint id) const

As you can see, it only takes a code point. Does this mean the '£' symbol is not included in .ttf files? With the information so far, it doesn't seem likely that I can do anything about it. If you had a custom or normal .ttf with the '£' symbol, and it had an associated code point, you coude inject the symbols into the text without problem.

Jekteir

29-10-2007 00:10:02

kfmasta, would you mind posting that in the other thread? Just to streamline where this stuff is happening -- Sinbad is watching the other thread.

Thanks,

Jek