Font Scaling Anomalies
by Charles Doty · in Torque Game Engine · 09/05/2006 (7:19 am) · 1 replies
Currently, I'm using TGE 1.4.2 with VS2005 patched files. When I enlarge text, the sections in the font that should be completey transparent become only partially transparent. In both linux and windows, I'm seeing this same font rendering anomaly in the following scenario:
1) Create a new GuiControlProfile based off GuiTextProfile with 'fontSize' equal to 48.
2) Create a GuiTextCtrl with the 'profile' member set to the newly created profile in (1).
3) Add to a canvas for rendering.
Anybody have any ideas why this is happening? Are there any known issues with font scaling? Is there another method that I could use?
1) Create a new GuiControlProfile based off GuiTextProfile with 'fontSize' equal to 48.
2) Create a GuiTextCtrl with the 'profile' member set to the newly created profile in (1).
3) Add to a canvas for rendering.
Anybody have any ideas why this is happening? Are there any known issues with font scaling? Is there another method that I could use?
About the author
Torque Owner Charles Doty