How to modify exported GFT/PNG fonts?
by Martin Schultz · in Torque Game Engine · 10/17/2007 (12:38 am) · 0 replies
Hey guys,
I've experimentalized a bit with exporting/modifying/importing the GFT fonts that Torque uses for displaying text in GuiText controls. What I want to archieve is to export a font, apply some filters with Photoshop like a drop shadow and re-import the font back into Torque.
With the help of this page on TDN and especially this thread I was able to export the font "Verdana" into a png file like shown below:

Now, as I have the exported font, I honestly don't know how to apply correctly the drop shadow to the font. The background of this exported font is black. If I use in Photoshop a "select color range" modifier to select the black background I can select the black background and invert the selection to get only the font. Then applying a drop shadow might work too, but how do I get the dropshadow work on the black background or do I need to remove the background and make the png fully transparent?
Has anyone successfully gotten this to work? Or applying a gradient to the font and re-import it back? My font the looks like having wrong/inverted/strange colors. Any experience?
Martin
I've experimentalized a bit with exporting/modifying/importing the GFT fonts that Torque uses for displaying text in GuiText controls. What I want to archieve is to export a font, apply some filters with Photoshop like a drop shadow and re-import the font back into Torque.
With the help of this page on TDN and especially this thread I was able to export the font "Verdana" into a png file like shown below:

Now, as I have the exported font, I honestly don't know how to apply correctly the drop shadow to the font. The background of this exported font is black. If I use in Photoshop a "select color range" modifier to select the black background I can select the black background and invert the selection to get only the font. Then applying a drop shadow might work too, but how do I get the dropshadow work on the black background or do I need to remove the background and make the png fully transparent?
Has anyone successfully gotten this to work? Or applying a gradient to the font and re-import it back? My font the looks like having wrong/inverted/strange colors. Any experience?
Martin