Forum

System Fonts

Created 6th March 2014 @ 02:48

Add A Reply Pages: 1

Opti

REMOVE

Hi,
as far as I know, to add custom fonts, you have to put the .ttf file in resource/ and then modify the clientscheme.res like this :

"Last number + 1"
{
"font" "resource/Name of the file.ttf"
"name" "Name of font"
}

and

"Name of the field to use in other res"
{
"1"
{
"name" "name of font"
"tall" "0"
"weight" "0"
"antialias" "1" //Mess around with theese
"additive" "0"
"outline" "0"
}
}

Also, in the default file I found this statement :

MatchmakingDialogMenuBrowserHostname
{
"1" // brower item hostname
{
"name" "Trebuchet MS"
"tall" "22"
"weight" "900"
}
}

with no definition at the bottom of the file, and without the .tff beeing in resource/.

Althought, it doesn’t seem to work when I create my own font with Trebuchet MS (which is a System font I believe).


MyFont1
{
"1" // brower item hostname
{
"name" "Trebuchet MS"
"tall" "22"
"weight" "900"
}
}

tl;dr How do I use default System Fonts (Arial, Times…) in TF2 Hud Making ?

*woops wrong section*


Last edited by Opti,

Phnx

I know that some fonts are installed by default like Courier

Starkie

ulti?
sniper

try Trebuchet MS Regular

Opti

REMOVE

Quoted from Starkie

try Trebuchet MS Regular

Wheter I use Trebuchet MS, Trebuchet MS Regular, or Arial, it ends up being the same font displayed, probably the default one.


"MyFont1"
{
"1"
{
"name" "Trebuchet MS Regular"
"tall" "22"
"weight" "900"
}
}


Last edited by Opti,

Opti

REMOVE

bump

Add A Reply Pages: 1