Game Development Community

Font conveter?

by Jonathan · in Torque Game Engine · 11/18/2007 (7:06 am) · 7 replies

I want to use a new font to my game, but i can't fine any .ttf conveter. becouse torque is runnig on .uft font format. can some one help me!?

// Jonathan

#1
08/09/2008 (6:08 am)
Is there a ttf to uft converter? I have found Font Boy, but that's for TGB, and I'm a licensee for TGEA. Can anyone please help? Any help is much appreciated.
#2
08/09/2008 (6:23 am)
Have you tried google??
This is what I found
#3
08/09/2008 (7:22 am)
As I know, torque automatically generates the .uft when you enter any new font in any GuiControlProfile, you must have that font installed on your system.

So you don't need any font converter.
#4
08/09/2008 (7:23 am)
Yep, that was the first thing I tried. You have searched for utf. This is uft. I'm familiar with utf, but I'm a newbie when it comes to uft. So I can't even tell if they are related in any way.

I believe that the UFT format is a Torque specific one made to provide a platform independent solution. Is that right? Is there a tool that converts anything to Torque's uft?

Right now I'm only able to use a few arial and lucida fonts, but I need other fonts to fit the style of the gui.
#5
08/09/2008 (7:33 am)
@Sailendu: That's very useful, thank you!
#6
08/09/2008 (6:56 pm)
I was expecting this meant Torque would create UFT files for each size font you used, but it appears this is not the case (using TGB).

This means you must also ship the font with your game and have it installed into the player's system, correct? I'd prefer to do the conversion myself and ship the UFT files.

This resource seems to do the trick nicely, though I've only just started to experiment with it.
#7
08/09/2008 (9:49 pm)
No, I didn't mean that. U have to install the desired font in your machine and put the font name in the fontType field of your GuiControlProfile.

for example:
new GuiControlProfile (guiFontNormalProfile)
{
   fontType    = "BankGothic Lt BT Light";
   fontSize    = 18;
   justify     = "center";
   fontColor   = "255 255 255";
};

here the font used is "BankGothic Lt BT Light", and torque will create the .uft file for that font in the fonts folder where all other .uft fonts are, then you can ship the .uft files with your game so the end user doesn't need to have those fonts installed in his machine.

:)