Game Development Community

Font smoothing, not very smooth?

by Bruno Campolo · in Torque Game Builder · 01/01/2008 (10:54 am) · 2 replies

Hi, I've been using TGB for a few months now (using 1.5.1 right now) and I'm just starting to get into adding fonts and stuff like that. I just put a few Text Objects on the screen of type Arial in the Level Editor. I put them at various whole number sizes and the font just doesn't look "smooth" to me. When I say smooth I mean like the windows font smoothing I am used to. I can tell it is antialiasing to some extent because when I disable Blending on the text object it looks even worse.

There are only a few sizes of each font that comes off looking fairly smooth.

Is this just poor font smoothing, or am I doing something wrong?

Thanks,
Bruno Campolo
Bantam City Games

About the author

Creator of Bantam City Games, a one-man independent game development studio. To learn more, check out 'A Game Developer's Saga', a game development blog at: http://www.bantamcity.com/blog


#1
01/01/2008 (1:38 pm)
When you resize a text object in TGB, it will continue to use the same size font. I think the default size is 72pt (I haven't used fonts in a while, so I could be wrong). Anways, if you've got a text object of size 10 (which corresponds to 80px) and its using a font size of 72, then it must rescale it which means it doesn't come out nicely.

Check out this for more info on how to modify the font size of a text object.
#2
01/01/2008 (2:29 pm)
Thanks Phillip, thats exactly what I spent the last 3 hours looking for!