Font problems
by Jon Scarborough · in Torque Game Builder · 09/11/2009 (8:29 pm) · 0 replies
I've been struggling to get fonts to work properly. From searching the forums I can see that I'm not alone. The clearest explanation I've found so far has been here:
http://www.garagegames.com/community/forums/viewthread/69067
So I've got a text object in my level with a character height of 3.5. In my code I'm doing this to try and select a 28px size font, to keep the 1/8 ratio as suggested in the thread:
%textObj.removeAllFontSizes();
%textObj.font="Herculanum";
%textObj.addFontSize(28);
I can see that I have a "Herculanum 28 (ansi).uft" font file generated in my common/data/fonts folder.
Both in the editor and in-game, the anti-aliasing on the font still looks very, very bad.
Any ideas what I'm missing?
Much thanks!
http://www.garagegames.com/community/forums/viewthread/69067
So I've got a text object in my level with a character height of 3.5. In my code I'm doing this to try and select a 28px size font, to keep the 1/8 ratio as suggested in the thread:
%textObj.removeAllFontSizes();
%textObj.font="Herculanum";
%textObj.addFontSize(28);
I can see that I have a "Herculanum 28 (ansi).uft" font file generated in my common/data/fonts folder.
Both in the editor and in-game, the anti-aliasing on the font still looks very, very bad.
Any ideas what I'm missing?
Much thanks!