Font does not appear properly
by Todd D. Degani · in Torque Game Engine · 04/22/2005 (8:12 am) · 3 replies
I am currently having a problem displaying a font on a GuiTextCtrl. The font that shows up is not the font that I have the type set to and I have no idea what font is getting displayed. I have created a separate profile for the control:
A gft file in the cache is generated for the font so it is getting parsed. I stepped through the code and it deosnt seem like anything strange is happening. Also stepping through the code I made sure that the snowwrite font was the font being used for the control. Any other font I have set the fontype to works (I have tried about 15 different ones). The only thing I can think of is that the gft is potentially being generated incorrectly.
Anyone else seen this problem? If someone could try out the font I have linked here and see if they can get it to display properly that would be great. Even if it doesn't display properly if you could post so that I know it just isnt something on my end. Thanks.
Snowwrite.zip
new GuiControlProfile (GuiMainTitleProfile)
{
fontType = "SNOWWRITE Regular";
fontColor = "0 0 0";
autoSizeWidth = true;
autoSizeHeight = true;
fontSize = 36;
};A gft file in the cache is generated for the font so it is getting parsed. I stepped through the code and it deosnt seem like anything strange is happening. Also stepping through the code I made sure that the snowwrite font was the font being used for the control. Any other font I have set the fontype to works (I have tried about 15 different ones). The only thing I can think of is that the gft is potentially being generated incorrectly.
Anyone else seen this problem? If someone could try out the font I have linked here and see if they can get it to display properly that would be great. Even if it doesn't display properly if you could post so that I know it just isnt something on my end. Thanks.
Snowwrite.zip
#3
I'm not trying to do anything fancy with the fonts, I'm just trying to get this font to display, which for the life of me I cant get it to do.
04/27/2005 (10:05 am)
Well that resource takes a bitmapped font and the program linked in that resource doesnt generate a bitmap from this font very well.I'm not trying to do anything fancy with the fonts, I'm just trying to get this font to display, which for the life of me I cant get it to do.
Torque Owner Todd D. Degani