Game Development Community

Fonts in profiles?

by Dave Young · in iTorque 2D · 01/27/2009 (1:48 pm) · 2 replies

I am fairly certain I just saw this somewhere, but what must take place in order to use some non-standard profiles?

I made a new profile, just a larger version of GuiDefaultProfile and Red, and it doesn't show up on the device, though it shows up when I run the project from TGB.

I'm assuming it's because I need to copy some utf or something from some obscure location to some other obscure location. Any tips? (I've been looking)

#1
01/27/2009 (2:35 pm)
yes, you need to copy all the .utf into the common/data/fonts dir
You copy them from either.....
PC /YOURUSERNAME/appdata/roaming/YOUCOMPANY/game/common/font
MAC /YOURUSERNAME/Library/applicationSupport/YOuCOmpany/ etc.....

it's easier to just search for .utf

If the fonts do not exist run the game and type writeFontCache() in the console. that will write out all the utf that are currently used in the game.
#2
01/27/2009 (6:37 pm)
Beautiful! Thanks Eyal