TextAreaOverlayElement glyph issues

Minor issues with the Ogre API that can be trivial to fix
inzero
Kobold
Posts: 33
Joined: Sun Dec 19, 2010 9:55 am

TextAreaOverlayElement glyph issues

Post by inzero »

I made a post about this in the general discussion thread here: http://www.ogre3d.org/forums/viewtopic.php?f=1&t=62416 and waited a bit before deciding to post it here. It seems no one had any input on the subject, so I'm putting it here.

I found a thread with a similar issue here as well: http://www.ogre3d.org/forums/viewtopic. ... ht#p361994. I doubt anything was fixed in that case because I'm encountering the same problem today.

It seems as though the default behavior for loading TTF fonts isn't generating glyphs correctly with regard to wide characters. In my post, you can see the tail of the Q character being cut off and included in the left side of the R character.

I also describe my issue with specifying text height in pixel mode, where the characters aren't actually the height specified, but smaller - and then some vertical padding is added on top and bottom to fill out the pixel height. This is bad because as the specified text height increases, the space between lines of text becomes bigger and bigger, making it difficult to accurately position lines of text vertically.

Is this something that can be looked at?