Game Development Community

[T2Di 1.3] Integer Precision on t2dTextObject - Look CRAZY! (Image Inside)

by John Sear · in iTorque 2D · 01/14/2010 (6:29 am) · 2 replies

Hey,

When using the new Integer Precision on t2dTextObjects, the font looks extremely bad! I'm using quite an unused font - DejaVu Sans Condensed and a custom font, both look strange, but the DejaVu is definitely the worst! This happens in the Editor too, have a look:

i160.photobucket.com/albums/t177/Warmare/Screenshot20100114102300.pngi160.photobucket.com/albums/t177/Warmare/Screenshot20100114102213.pngi160.photobucket.com/albums/t177/Warmare/Screenshot20100114102159.png

#1
01/14/2010 (7:03 am)
Just Tried it with Arial too ... same thing happened.

Is it something to do with the UTF's are different in 1.3? This project is one I'm upgrading from 1.2 to 1.3 so I may not have rebuilt the UTF's.
#2
01/18/2010 (5:06 am)
Hi John,

Can you post your t2dTextObject here please? If you are scaling the font (ie. "fontSizes" and "lineHeight" are not the same), you can get some weird stuff happening.

Also, you should enable "filter" if possible too as that will allow the font to be rendered with bilinear filtering instead of the standard nearest pixel filtering.