Game Development Community

T3D 1.1 Final - Font not working - LOGGED (THREED-2121)

by Lewis Bibby · in Torque 3D Professional · 07/01/2011 (8:35 pm) · 6 replies

Build:1.1 Final

Platform: Windows 7 64 bit

Target: GUI Editor

Issues: I'm trying to add a font to my game. I've tried both letting the GUI editor write the profile for me and writing my own profile. The font gets converted into a .uft file but if I make a simple text control and try adding something nothing appears. Swapping profile to one that uses a different font makes the text appear. The font in question is this, http://www.dafont.com/mousou-record-g.font

#1
07/02/2011 (4:52 am)
I've also noticed that under some circumstances (eg: certain sizes of a custom italic font) some fonts don't seem to appear/render.
#2
07/05/2011 (10:23 am)
Thanks Lewis. Logged as THREED-2121.
#3
08/29/2011 (12:13 am)
Hi Lewis,

I could not reproduce this issue. Here is my GuiControlProfile:

singleton GuiControlProfile(TestTextProfile : GuiTextProfile)
{
   fontType = "Mousou Record__G";
   fontSize = "16";
   fontColor = "255 255 255";
};

A GuiTextCtrl control using this profile displays just fine.

Are you sure you had the name right when you created your profile? I had to look in MSWord to see what the font was really called.
#4
08/29/2011 (7:34 am)
Chris, just emailed you a couple of files I've had issues with, so you can test them tomorrow.
#5
08/29/2011 (9:09 am)
@Chris, I just tried it again using your code and it worked fine. not sure what mistake I made in the past but thank you for the help.
#6
08/29/2011 (10:01 am)
Still refuses to work for me too. Displays fine in the GUI Editor, But when the game is launched it reverts itself back to 'Arial'