Only Arial font type ????
by Tim Kin Chu · in Torque Game Builder · 07/27/2006 (9:30 pm) · 2 replies
I want to change my font by the import "importCachedFont" and "exportCachedFont"
but it is only Arial in the TGB.
So, I cant change the width of some character, for example "I".
I want to ask is there any font type avalible ????????
but it is only Arial in the TGB.
So, I cant change the width of some character, for example "I".
I want to ask is there any font type avalible ????????
#2
please help me!!
//--- OBJECT WRITE BEGIN ---
%guiContent = new GuiControl(denemeGui) {
fontType="SwAndrew";
fontSize="32";
justify="left";
fontColor=" 255 255 255";
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "1";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 0";
Extent = "640 480";
MinExtent = "8 2";
canSave = "1";
Visible = "1";
hovertime = "1000";
new GuiMLTextCtrl() {
profile = "denemeGui";
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "0";
HorizSizing = "right";
VertSizing = "bottom";
position = "176 180";
Extent = "222 56";
MinExtent = "8 2";
canSave = "1";
Visible = "1";
hovertime = "1000";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "-1";
text = " I dont understand why there ıs not any changes here:(";
};
};
//--- OBJECT WRITE END ---
I wrote this code but ı could not solve the problem. What can I do? Could you please tell me stap by step?
Thanks for your attention!!
06/26/2009 (6:08 am)
Dear friend,please help me!!
//--- OBJECT WRITE BEGIN ---
%guiContent = new GuiControl(denemeGui) {
fontType="SwAndrew";
fontSize="32";
justify="left";
fontColor=" 255 255 255";
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "1";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 0";
Extent = "640 480";
MinExtent = "8 2";
canSave = "1";
Visible = "1";
hovertime = "1000";
new GuiMLTextCtrl() {
profile = "denemeGui";
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "0";
HorizSizing = "right";
VertSizing = "bottom";
position = "176 180";
Extent = "222 56";
MinExtent = "8 2";
canSave = "1";
Visible = "1";
hovertime = "1000";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "-1";
text = " I dont understand why there ıs not any changes here:(";
};
};
//--- OBJECT WRITE END ---
I wrote this code but ı could not solve the problem. What can I do? Could you please tell me stap by step?
Thanks for your attention!!
Torque Owner Philip Mansfield
Default Studio Name
new GuiControlProfile (Snap32White) { // font fontType = "Snap ITC"; fontSize = 32; justify = "left"; fontColor = "255 255 255"; }; new GuiTextCtrl(myGUIControl) { profile = "Snap32Whhite"; horizSizing = "relative"; vertSizing = "relative"; extent = "400 50"; Position = "0 0" minExtent = "8 2"; visible = "1"; text = "my Text here"; maxLength = "255"; };