Game Development Community

True Type Font

by Jorge Ramírez · in Technical Issues · 11/23/2011 (10:52 am) · 0 replies

Why my true type font "Tr2n.ttf" is never displayed??, it always shows the default font.
This is how I initialize it:

if (!isObject(GuiTextW22Profile)) new GuiControlProfile (GuiTextW22Profile : GuiTextProfile) {
   fontSize = 22;
   fontColor = "220 220 220";
   fontType = "Tr2n";
};

Any Help is apreciated, thanks.