WITE Custom fonts
Posted: Fri Dec 10, 2010 9:38 pm
In coming patch we did a new feature which allows to set every font used in the game - font name, size, bold or not.
It is done by placing a WiteFontConfig.txt to \dat folder. If file is missing the default fonts will be used.
The format is quite simple. Commented lines begin with "/"
//Wite Font Config File
//*********************************
//Font id,Name,Size,0-normal/1-bold
//*********************************
//
//Default Fonts
//
//1,Arial,14,0
//2,Arial,10,0
//3,Arial,18,0
//4,Verdana,7,0
//5,Verdana,8,1
//6,Verdana,7,0
//7,Georgia,18,0
//8,Verdana,7,1
//9,Verdana,9,0
//
//
1,Arial,14,0
2,Arial,10,0
3,Arial,18,0
4,Verdana,7,0
5,Microsoft Sans Serif,8,1
6,Lucida Sans,8,0
7,Georgia,18,0
8,Verdana,7,1
9,Verdana,9,0
The example above is font file from Don (dlazov66).
Remember, all alignment is done using the default fonts and with normal (96dpi) system font size! So before reporting any text alignment problem, please run it with default fonts.
Rough font list is below:
1 - is big font widely used in headers
2 - the most used font
3 - rarely used big font (ex. end game screen)
4 - rarely used small font (ex. top menu date/turn, etc)
5 - used on unit counters on highest zoom and as small bold header
6 - small font used in Commander's reportd
7 - rarely used large font (ex. weather report)
8 - small bold font used on unit counters on medium zoom. also used in Commander's Report
9 - widely used in editor

It is done by placing a WiteFontConfig.txt to \dat folder. If file is missing the default fonts will be used.
The format is quite simple. Commented lines begin with "/"
//Wite Font Config File
//*********************************
//Font id,Name,Size,0-normal/1-bold
//*********************************
//
//Default Fonts
//
//1,Arial,14,0
//2,Arial,10,0
//3,Arial,18,0
//4,Verdana,7,0
//5,Verdana,8,1
//6,Verdana,7,0
//7,Georgia,18,0
//8,Verdana,7,1
//9,Verdana,9,0
//
//
1,Arial,14,0
2,Arial,10,0
3,Arial,18,0
4,Verdana,7,0
5,Microsoft Sans Serif,8,1
6,Lucida Sans,8,0
7,Georgia,18,0
8,Verdana,7,1
9,Verdana,9,0
The example above is font file from Don (dlazov66).
Remember, all alignment is done using the default fonts and with normal (96dpi) system font size! So before reporting any text alignment problem, please run it with default fonts.
Rough font list is below:
1 - is big font widely used in headers
2 - the most used font
3 - rarely used big font (ex. end game screen)
4 - rarely used small font (ex. top menu date/turn, etc)
5 - used on unit counters on highest zoom and as small bold header
6 - small font used in Commander's reportd
7 - rarely used large font (ex. weather report)
8 - small bold font used on unit counters on medium zoom. also used in Commander's Report
9 - widely used in editor























