WITE Custom fonts (Full Version)

All Forums >> [New Releases from Matrix Games] >> Gary Grigsby's War in the East Series >> Scenario Design and Modding



Message


Helpless -> WITE Custom fonts (12/10/2010 11:38:18 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



[image]local://upfiles/13846/CF0DBCEB63B54B3F8E21CC16647A71F0.jpg[/image]




Great_Ajax -> RE: WITE Custom fonts (12/10/2010 11:42:37 PM)

Pavel, is wingdings font supported?




The Gnome -> RE: WITE Custom fonts (12/10/2010 11:43:35 PM)

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!




Helpless -> RE: WITE Custom fonts (12/10/2010 11:44:08 PM)

Trey, you should say :)




Helpless -> RE: WITE Custom fonts (12/10/2010 11:51:03 PM)

quote:

Pavel, is wingdings font supported?


Yes it does!

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

[image]local://upfiles/13846/EDCD6BD876BB4AD8914574697339579C.jpg[/image]




Great_Ajax -> RE: WITE Custom fonts (12/10/2010 11:57:55 PM)

You are the man, Pavel! I love it!

Trey




Zovs -> RE: WITE Custom fonts (12/11/2010 8:08:43 AM)

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




Emx77 -> RE: WITE Custom fonts (12/11/2010 8:21:37 AM)

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.




Zovs -> RE: WITE Custom fonts (12/11/2010 9:04:55 AM)

Here are the subtle results of that config (I like the default but this suits me a bit better):

Default screen
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/1.jpg[/image]

Zoomed out 2
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/2.jpg[/image]

Zoomed out 1
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/3.jpg[/image]

Just showing a beginning pocket
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/4.jpg[/image]

CR via Unit, filtered by panzer/motorized divisions on map
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/5.jpg[/image]

CR Army report (filter)
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/6.jpg[/image]

Fonts changed losses screen.
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/7.jpg[/image]




Wikingus -> RE: WITE Custom fonts (12/11/2010 9:59:08 AM)

Comic sans! [:D]




Helpless -> RE: WITE Custom fonts (12/11/2010 11:20:47 AM)

quote:

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.




Templer_12 -> RE: WITE Custom fonts (12/11/2010 1:36:31 PM)

No offense here.
But can't see much sense in such features.
Should you turn your precious time not to something more important?




Helpless -> RE: WITE Custom fonts (12/11/2010 1:47:05 PM)

Yes, I'm drinking Gluntwein right now.. :)




alaric318 -> RE: WITE Custom fonts (12/11/2010 2:39:03 PM)

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.




DrewBlack -> RE: WITE Custom fonts (12/11/2010 11:41:45 PM)

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]local://upfiles/12632/D066578112EC45E2B1F412C7127F194C.jpg[/image]




Zovs -> RE: WITE Custom fonts (12/12/2010 12:03:13 AM)

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
//







Zovs -> RE: WITE Custom fonts (12/12/2010 12:32:30 AM)

Here are some screen shots (in no order, rhyme or reason).

A Germanic font...
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/8.jpg[/image]

A stencil font...
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/9.jpg[/image]

Another German type of font...
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/10.jpg[/image]

Early 1600 German font (?) ...
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/11.jpg[/image]

One of the German fonts in action...
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/12.jpg[/image]

Stencil fonts in action...
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/13.jpg[/image]

the German font starts with an S above in the cfg...
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/14.jpg[/image]

My favorite font...(looks good in Brown or Blue...)...[:D]
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/15.jpg[/image]

Gotta love Mech and Tank Corps in 43 with this beautiful font...
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/16.jpg[/image]

Just more details...
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/17.jpg[/image]

Jah, even the Panzer look good in Cyclic type of fonts...
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/18.jpg[/image]

Russian type of fonts in action...
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/19.jpg[/image]

ditto....
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/20.jpg[/image]

more of the same ....
[image]http://i286.photobucket.com/albums/ll110/dlazov/WitE%20Gold/21.jpg[/image]

Gotta run and get some food....




RJL5188 -> RE: WITE Custom fonts (12/12/2010 3:36:58 AM)

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




Helpless -> RE: WITE Custom fonts (12/12/2010 7:11:39 AM)

quote:

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




DrewBlack -> RE: WITE Custom fonts (12/12/2010 8:01:35 AM)

Excellant thanks for the help.

Drew




AlanBernardo -> RE: WITE Custom fonts (12/12/2010 3:05:04 PM)

I do get load errors with a lot of these settings. Of the ones I've tried, only one works, besides the default. It must be something with the fonts not being installed on my system.

Could someone point to what each font refers to?


Alan




Zovs -> RE: WITE Custom fonts (12/12/2010 3:55:59 PM)

Alan,

You would be correct, you would need to have the same fonts installed on your system. Also, I forgot (my fault since I thought if I knew everyone would know) that you can only use one at a time or one font type of grouping, this is indicated by the comment section // but not every may know that this is a standard C/C++ and java format. Also, I am running Windows 7 and the default fonts should work on my W7 systems, however as I pointed out DPI and other hardware things may make things look wonky.




Helpless -> RE: WITE Custom fonts (12/12/2010 3:57:57 PM)

Yes, fonts should be installed in the system and spelled correctly in the config file.

quote:

Could someone point to what each font refers to?



It is pretty much shown in the post #1. Widely used fonts are in bold.

quote:


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 report
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




AlanBernardo -> RE: WITE Custom fonts (12/12/2010 5:25:30 PM)

Thanks for the replies.

Seeing that this game is going to take some time to understand well, at least his font thing is pretty basic. :)


Alan




dwesolick -> RE: WITE Custom fonts (12/13/2010 9:02:23 PM)

Hi guys,

OK, I'm really embarrassed to ask such a stupid question but, regarding Helpless' instructions, I don't understand "It is done by placing a WiteFontConfig.txt to \dat folder."

I've found a Dat folder, but I can't find the Witefontconfig.txt line. Am I supposed to create that myself? If so, how? Or was the patch supposed to create it? I've loaded the patch and the fonts are larger (and more readable in the tables, etc), but I would like to tinker with it to eliminate the overlapping that appears (as someone above stated), but have no idea how to do it.

As you can see, I'm a programming idiot (to say the least), so could someone spell it out in very simple, step by step terms (like, for a moron[:o]).

Sorry for the dumb questions but any help would be greatly appreciated!

thanks




Helpless -> RE: WITE Custom fonts (12/13/2010 10:24:08 PM)

I think it will be included in the first official patch. Meanwhile you can copy one attached. it contains all default fonts.





dwesolick -> RE: WITE Custom fonts (12/14/2010 3:06:01 PM)

Hi Helpless,

Thanks for that! Just one more dumb question...do I copy/paste it directly into the dat folder...or do I need to create a new folder?

thanks again




Helpless -> RE: WITE Custom fonts (12/14/2010 3:10:03 PM)

No new folder, just copy to the \dat.




dwesolick -> RE: WITE Custom fonts (12/14/2010 4:53:34 PM)

I'm having trouble figuring out what and where the /dat file is. I thought you just meant the dat folder but when I open that I see lots of dat files (wrac.dat, wrair.dat, wrcity.dat, etc....) but it won't let me open them. I know I'm missing something really simple here, but then I did tell you I was a moron[&:]

I do appreciate your help though!




Zovs -> RE: WITE Custom fonts (12/14/2010 5:07:05 PM)

The notation /dat means a sub folder, so down inside your WitE folder you'll see a folder named dat, this is where you place (if its not already there) the config file.




Page: [1] 2 3   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.09375