Page 1 of 4

WITE Custom fonts

Posted: Fri Dec 10, 2010 9:38 pm
by Helpless
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



Image

RE: WITE Custom fonts

Posted: Fri Dec 10, 2010 9:42 pm
by Great_Ajax
Pavel, is wingdings font supported?

RE: WITE Custom fonts

Posted: Fri Dec 10, 2010 9:43 pm
by The Gnome
Awesome feature, I'm a bit of a typeface totalitarian since I do some web design. LOVE that I'll be able to fiddle around with this, thanks!

RE: WITE Custom fonts

Posted: Fri Dec 10, 2010 9:44 pm
by Helpless
Trey, you should say :)

RE: WITE Custom fonts

Posted: Fri Dec 10, 2010 9:51 pm
by Helpless
Pavel, is wingdings font supported?

Yes it does!

Now I know how to make FOW better [:)]

Image

RE: WITE Custom fonts

Posted: Fri Dec 10, 2010 9:57 pm
by Great_Ajax
You are the man, Pavel! I love it!

Trey

RE: WITE Custom fonts

Posted: Sat Dec 11, 2010 6:08 am
by Zovs
Based on Pavs new code I made and tested some subtle differences, I personally like these fonts better, but that is just me.

1,Microsoft Sans Serif,14,0
2,Microsoft Sans Serif,10,0
3,Arial,18,0
4,Microsoft Sans Serif,8,0
5,Microsoft Sans Serif,8,1
6,Microsoft Sans Serif,7,0
7,Franklin Gothic Demi,18,0
8,Microsoft Sans Serif,7,1
9,Verdana,9,0

RE: WITE Custom fonts

Posted: Sat Dec 11, 2010 6:21 am
by Emx77
Pavel, may you please make clickable text permanently yellow as now blue text is indistinguishable from the white non-clickable text. At least for some players. Please [&o]

This has been mentioned erlier.

RE: WITE Custom fonts

Posted: Sat Dec 11, 2010 7:04 am
by Zovs
Here are the subtle results of that config (I like the default but this suits me a bit better):

Default screen
Image

Zoomed out 2
Image

Zoomed out 1
Image

Just showing a beginning pocket
Image

CR via Unit, filtered by panzer/motorized divisions on map
Image

CR Army report (filter)
Image

Fonts changed losses screen.
Image

RE: WITE Custom fonts

Posted: Sat Dec 11, 2010 7:59 am
by Wikingus
Comic sans! [:D]

RE: WITE Custom fonts

Posted: Sat Dec 11, 2010 9:20 am
by Helpless
Pavel, may you please make clickable text permanently yellow as now blue text is indistinguishable from the white non-clickable text. At least for some players.

Emir, due to the way how the color coding is done it could be much more difficult task to customize colors.

RE: WITE Custom fonts

Posted: Sat Dec 11, 2010 11:36 am
by Templer_12
No offense here.
But can't see much sense in such features.
Should you turn your precious time not to something more important?

RE: WITE Custom fonts

Posted: Sat Dec 11, 2010 11:47 am
by Helpless
Yes, I'm drinking Gluntwein right now.. :)

RE: WITE Custom fonts

Posted: Sat Dec 11, 2010 12:39 pm
by alaric318
great extra work for the game engine, thanks for all of it, i really like the zoomet out 1, have more clear view on the units,
 
best regards,
 
Murat30.

RE: WITE Custom fonts

Posted: Sat Dec 11, 2010 9:41 pm
by DrewBlack
Hi

could you please tell me which font line 1-9 I need to adjsust to fix the issue of overlapping text fields detailed here.

Thanks

Drew

Image

RE: WITE Custom fonts

Posted: Sat Dec 11, 2010 10:03 pm
by Zovs
Okay been spending a fair amount of time (wife has been sick and sleeping so that means since seven am) experimenting with the fonts and I came up with this as a master file, some screen shots will follow in another post if interested.

WARNING: Depending on your monitor size, font dpi settings, screen resolution, hardware, software installed, personal preference, default language spoken/read, life experiences and a host of other possible items, these are really just suggestions based on some of my personal preferences and opinions. Bottom line what looks beautiful to me may look horrific and offensive to you so please take my mods with a grain of scotch.


//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
//
// Standard type fonts:
//
// Microsoft Sans Serif (I like it, reminds me of traditional board games.)
//1,Microsoft Sans Serif,14,0
//2,Microsoft Sans Serif,10,0
//3,Microsoft Sans Serif,18,0
//4,Microsoft Sans Serif,8,0
//5,Microsoft Sans Serif,8,1
//6,Microsoft Sans Serif,7,0
//7,Microsoft Sans Serif,18,0
//8,Microsoft Sans Serif,7,1
//9,Microsoft Sans Serif,9,0
//
// Tahoma
//1,Tahoma,14,0
//2,Tahoma,10,0
//3,Tahoma,18,0
//4,Tahoma,8,0
//5,Tahoma,8,1
//6,Tahoma,7,0
//7,Tahoma,18,0
//8,Tahoma,7,1
//9,Tahoma,9,0
//
// Arial
//1,Arial,14,0
//2,Arial,10,0
//3,Arial,18,0
//4,Arial,8,0
//5,Arial,8,1
//6,Arial,7,0
//7,Arial,18,0
//8,Arial,7,1
//9,Arial,9,0
//
// Arial Narrow (In some ways I like this, but the combat factor font sort of hurts the eyes aftr a while, not sure.)
//1,Arial Narrow,16,0
//2,Arial Narrow,10,0
//3,Arial Narrow,22,0
//4,Arial Narrow,8,0
//5,Arial Narrow,9,1
//6,Arial Narrow,8,0
//7,Arial Narrow,20,0
//8,Arial Narrow,8,1
//9,Arial Narrow,9,0
//
// Non-standard fonts:
//
// (A font using Adobe from Photoshop or the full version of Adobe installed.)
//1,Adobe Gothic Std B,14,0
//2,Adobe Gothic Std B,10,0
//3,Adobe Gothic Std B,18,0
//4,Adobe Gothic Std B,7,0
//5,Adobe Gothic Std B,9,1
//6,Adobe Gothic Std B,7,0
//7,Adobe Gothic Std B,18,0
//8,Adobe Gothic Std B,7,1
//9,Adobe Gothic Std B,9,0
//
// (Another really nice font using Adobe fonts, I like it!)
//1,Adobe Heiti Std R,14,0
//2,Adobe Heiti Std R,10,0
//3,Adobe Heiti Std R,18,0
//4,Adobe Heiti Std R,8,0
//5,Adobe Heiti Std R,8,1
//6,Adobe Heiti Std R,7,0
//7,Adobe Heiti Std R,18,0
//8,Adobe Heiti Std R,7,1
//9,Adobe Heiti Std R,9,0
//
// German and Soviet Style fonts:
//
// download from the internet Kleist-Fraktur (interesting)
//1,Kleist-Fraktur,18,0
//2,Kleist-Fraktur,11,0
//3,Kleist-Fraktur,22,0
//4,Kleist-Fraktur,8,0
//5,Kleist-Fraktur,8,1
//6,Kleist-Fraktur,7,0
//7,Kleist-Fraktur,24,0
//8,Kleist-Fraktur,7,1
//9,Kleist-Fraktur,9,0
//
// download from the internet Gothenburg ()
//1,Gothenburg,16,0
//2,Gothenburg,9,0
//3,Gothenburg,24,0
//4,Gothenburg,8,0
//5,Gothenburg,8,1
//6,Gothenburg,7,0
//7,Gothenburg,20,0
//8,Gothenburg,7,1
//9,Gothenburg,9,0
//
// download from the internet Propaganda (I thought this one is kind of whacky and I gave up on trying to make it work.)
//1,Propaganda,16,0
//2,Propaganda,9,0
//3,Propaganda,22,0
//4,Propaganda,7,0
//5,Propaganda,10,0
//6,Propaganda,7,0
//7,Propaganda,20,0
//8,Propaganda,8,0
//9,Propaganda,9,0
//
// download from the internet Schwarzwald (kind of neat, not perfect though)
//1,Schwarzwald,14,0
//2,Schwarzwald,10,0
//3,Schwarzwald,22,0
//4,Schwarzwald,7,0
//5,Schwarzwald,11,1
//6,Schwarzwald,7,0
//7,Schwarzwald,18,0
//8,Schwarzwald,10,1
//9,Schwarzwald,9,0
//
// download from the internet Tannenberg Fett (This to me is the best of the Germanic fonts.)
//1,Tannenberg Fett,14,0
//2,Tannenberg Fett,10,0
//3,Tannenberg Fett,22,0
//4,Tannenberg Fett,8,0
//5,Tannenberg Fett,10,0
//6,Tannenberg Fett,7,0
//7,Tannenberg Fett,18,0
//8,Tannenberg Fett,9,0
//9,Tannenberg Fett,9,0
//
// download from the internet a Soviet styled font (Personally I really like this one for some reason a lot!)
1,KyrillaSansSerif,14,0
2,KyrillaSansSerif,10,0
3,KyrillaSansSerif,18,0
4,KyrillaSansSerif,8,0
5,KyrillaSansSerif,8,1
6,KyrillaSansSerif,7,0
7,KyrillaSansSerif,18,0
8,KyrillaSansSerif,7,1
9,KyrillaSansSerif,9,0
//
// download from the internet a Stencil style (Interesting.)
//1,Stencilia-A,14,0
//2,Stencilia-A,10,0
//3,Stencilia-A,18,0
//4,Stencilia-A,8,0
//5,Stencilia-A,8,1
//6,Stencilia-A,7,0
//7,Stencilia-A,18,0
//8,Stencilia-A,7,1
//9,Stencilia-A,9,0
//
// download from the internet a helvetika style (Kind of okay, kind of not.)
//1,A1011Helvetika  TYGRA,14,0
//2,A1011Helvetika  TYGRA,10,0
//3,A1011Helvetika  TYGRA,18,0
//4,A1011Helvetika  TYGRA,8,0
//5,A1011Helvetika  TYGRA,8,1
//6,A1011Helvetika  TYGRA,7,0
//7,A1011Helvetika  TYGRA,18,0
//8,A1011Helvetika  TYGRA,7,1
//9,A1011Helvetika  TYGRA,9,0
//
// download from the internet DokChampa (Not bad but not excellent either.)
//1,DokChampa,14,0
//2,DokChampa,10,0
//3,DokChampa,18,0
//4,DokChampa,8,0
//5,DokChampa,8,1
//6,DokChampa,7,0
//7,DokChampa,18,0
//8,DokChampa,7,1
//9,DokChampa,9,0
//




RE: WITE Custom fonts

Posted: Sat Dec 11, 2010 10:32 pm
by Zovs
Here are some screen shots (in no order, rhyme or reason).

A Germanic font...
Image

A stencil font...
Image

Another German type of font...
Image

Early 1600 German font (?) ...
Image

One of the German fonts in action...
Image

Stencil fonts in action...
Image

the German font starts with an S above in the cfg...
Image

My favorite font...(looks good in Brown or Blue...)...[:D]
Image

Gotta love Mech and Tank Corps in 43 with this beautiful font...
Image

Just more details...
Image

Jah, even the Panzer look good in Cyclic type of fonts...
Image

Russian type of fonts in action...
Image

ditto....
Image

more of the same ....
Image

Gotta run and get some food....

RE: WITE Custom fonts

Posted: Sun Dec 12, 2010 1:36 am
by RJL5188
now...if we could only change fomt sizes and types in witp-ae...ill be honest...times new roman and lucinda dont really do it for me

RE: WITE Custom fonts

Posted: Sun Dec 12, 2010 5:11 am
by Helpless
Hi

could you please tell me which font line 1-9 I need to adjsust to fix the issue of overlapping text fields detailed here.

Thanks

Drew

# 2

RE: WITE Custom fonts

Posted: Sun Dec 12, 2010 6:01 am
by DrewBlack
Excellant thanks for the help.
 
Drew