Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

WITE Custom fonts

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Gary Grigsby's War in the East Series >> Scenario Design and Modding >> WITE Custom fonts Page: [1] 2 3   next >   >>
Login
Message << Older Topic   Newer Topic >>
WITE Custom fonts - 12/10/2010 11:38:18 PM   
Helpless


Posts: 15793
Joined: 8/27/2004
Status: offline
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






Attachment (1)

_____________________________

Pavel Zagzin
WITE/WITW/WITE-2 Development
Post #: 1
RE: WITE Custom fonts - 12/10/2010 11:42:37 PM   
Great_Ajax


Posts: 4774
Joined: 10/28/2002
From: Alabama, USA
Status: offline
Pavel, is wingdings font supported?

_____________________________

"You want mercy!? I'm chaotic neutral!"

WiTE Scenario Designer
WitW Scenario/Data Team Lead
WitE 2.0 Scenario Designer

(in reply to Helpless)
Post #: 2
RE: WITE Custom fonts - 12/10/2010 11:43:35 PM   
The Gnome


Posts: 1233
Joined: 5/17/2002
From: Philadelphia, PA
Status: offline
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!

(in reply to Helpless)
Post #: 3
RE: WITE Custom fonts - 12/10/2010 11:44:08 PM   
Helpless


Posts: 15793
Joined: 8/27/2004
Status: offline
Trey, you should say :)

_____________________________

Pavel Zagzin
WITE/WITW/WITE-2 Development

(in reply to Great_Ajax)
Post #: 4
RE: WITE Custom fonts - 12/10/2010 11:51:03 PM   
Helpless


Posts: 15793
Joined: 8/27/2004
Status: offline
quote:

Pavel, is wingdings font supported?


Yes it does!

Now I know how to make FOW better




Attachment (1)

_____________________________

Pavel Zagzin
WITE/WITW/WITE-2 Development

(in reply to Great_Ajax)
Post #: 5
RE: WITE Custom fonts - 12/10/2010 11:57:55 PM   
Great_Ajax


Posts: 4774
Joined: 10/28/2002
From: Alabama, USA
Status: offline
You are the man, Pavel! I love it!

Trey

_____________________________

"You want mercy!? I'm chaotic neutral!"

WiTE Scenario Designer
WitW Scenario/Data Team Lead
WitE 2.0 Scenario Designer

(in reply to Helpless)
Post #: 6
RE: WITE Custom fonts - 12/11/2010 8:08:43 AM   
Zovs


Posts: 6668
Joined: 2/23/2009
From: United States
Status: offline
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


_____________________________


Beta Tester for:
Flashpoint Campaigns: Sudden Storm
War in the East 1 & 2
WarPlan & WarPlan Pacific
Valor & Victory
DG CWIE 2
SPWW2 & SPMBT scenario creator

(in reply to Great_Ajax)
Post #: 7
RE: WITE Custom fonts - 12/11/2010 8:21:37 AM   
Emx77


Posts: 419
Joined: 3/29/2004
From: Sarajevo, Bosnia and Herzegovina
Status: offline
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

This has been mentioned erlier.

(in reply to Zovs)
Post #: 8
RE: WITE Custom fonts - 12/11/2010 9:04:55 AM   
Zovs


Posts: 6668
Joined: 2/23/2009
From: United States
Status: offline
Here are the subtle results of that config (I like the default but this suits me a bit better):

Default screen


Zoomed out 2


Zoomed out 1


Just showing a beginning pocket


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


CR Army report (filter)


Fonts changed losses screen.



_____________________________


Beta Tester for:
Flashpoint Campaigns: Sudden Storm
War in the East 1 & 2
WarPlan & WarPlan Pacific
Valor & Victory
DG CWIE 2
SPWW2 & SPMBT scenario creator

(in reply to Zovs)
Post #: 9
RE: WITE Custom fonts - 12/11/2010 9:59:08 AM   
Wikingus


Posts: 167
Joined: 9/26/2010
Status: offline
Comic sans!

_____________________________


(in reply to Zovs)
Post #: 10
RE: WITE Custom fonts - 12/11/2010 11:20:47 AM   
Helpless


Posts: 15793
Joined: 8/27/2004
Status: offline
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.

_____________________________

Pavel Zagzin
WITE/WITW/WITE-2 Development

(in reply to Emx77)
Post #: 11
RE: WITE Custom fonts - 12/11/2010 1:36:31 PM   
Templer_12


Posts: 1700
Joined: 1/5/2009
From: Germany
Status: offline
No offense here.
But can't see much sense in such features.
Should you turn your precious time not to something more important?


< Message edited by Templer -- 12/11/2010 2:21:10 PM >


_____________________________


(in reply to Helpless)
Post #: 12
RE: WITE Custom fonts - 12/11/2010 1:47:05 PM   
Helpless


Posts: 15793
Joined: 8/27/2004
Status: offline
Yes, I'm drinking Gluntwein right now.. :)

_____________________________

Pavel Zagzin
WITE/WITW/WITE-2 Development

(in reply to Templer_12)
Post #: 13
RE: WITE Custom fonts - 12/11/2010 2:39:03 PM   
alaric318

 

Posts: 366
Joined: 10/7/2003
Status: offline
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.

_____________________________

There is no plan of battle that survives the contact with the enemy.

(in reply to Helpless)
Post #: 14
RE: WITE Custom fonts - 12/11/2010 11:41:45 PM   
DrewBlack


Posts: 828
Joined: 7/3/2004
From: North Wales, UK
Status: offline
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




Attachment (1)

(in reply to alaric318)
Post #: 15
RE: WITE Custom fonts - 12/12/2010 12:03:13 AM   
Zovs


Posts: 6668
Joined: 2/23/2009
From: United States
Status: offline
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
//





< Message edited by dlazov66 -- 12/12/2010 12:04:19 AM >


_____________________________


Beta Tester for:
Flashpoint Campaigns: Sudden Storm
War in the East 1 & 2
WarPlan & WarPlan Pacific
Valor & Victory
DG CWIE 2
SPWW2 & SPMBT scenario creator

(in reply to alaric318)
Post #: 16
RE: WITE Custom fonts - 12/12/2010 12:32:30 AM   
Zovs


Posts: 6668
Joined: 2/23/2009
From: United States
Status: offline
Here are some screen shots (in no order, rhyme or reason).

A Germanic font...


A stencil font...


Another German type of font...


Early 1600 German font (?) ...


One of the German fonts in action...


Stencil fonts in action...


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


My favorite font...(looks good in Brown or Blue...)...


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


Just more details...


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


Russian type of fonts in action...


ditto....


more of the same ....


Gotta run and get some food....


_____________________________


Beta Tester for:
Flashpoint Campaigns: Sudden Storm
War in the East 1 & 2
WarPlan & WarPlan Pacific
Valor & Victory
DG CWIE 2
SPWW2 & SPMBT scenario creator

(in reply to Zovs)
Post #: 17
RE: WITE Custom fonts - 12/12/2010 3:36:58 AM   
RJL5188


Posts: 170
Joined: 11/27/2010
Status: offline
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

_____________________________

"Remember. This is a military operation. They NEVER go according to plan." ---Gen. Beck to Col. Stauffenberg (VALKYRIE)

(in reply to Zovs)
Post #: 18
RE: WITE Custom fonts - 12/12/2010 7:11:39 AM   
Helpless


Posts: 15793
Joined: 8/27/2004
Status: offline
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

_____________________________

Pavel Zagzin
WITE/WITW/WITE-2 Development

(in reply to DrewBlack)
Post #: 19
RE: WITE Custom fonts - 12/12/2010 8:01:35 AM   
DrewBlack


Posts: 828
Joined: 7/3/2004
From: North Wales, UK
Status: offline
Excellant thanks for the help.

Drew

(in reply to Helpless)
Post #: 20
RE: WITE Custom fonts - 12/12/2010 3:05:04 PM   
AlanBernardo

 

Posts: 200
Joined: 12/8/2007
From: Ohio
Status: offline
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

(in reply to DrewBlack)
Post #: 21
RE: WITE Custom fonts - 12/12/2010 3:55:59 PM   
Zovs


Posts: 6668
Joined: 2/23/2009
From: United States
Status: offline
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.


_____________________________


Beta Tester for:
Flashpoint Campaigns: Sudden Storm
War in the East 1 & 2
WarPlan & WarPlan Pacific
Valor & Victory
DG CWIE 2
SPWW2 & SPMBT scenario creator

(in reply to AlanBernardo)
Post #: 22
RE: WITE Custom fonts - 12/12/2010 3:57:57 PM   
Helpless


Posts: 15793
Joined: 8/27/2004
Status: offline
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


_____________________________

Pavel Zagzin
WITE/WITW/WITE-2 Development

(in reply to AlanBernardo)
Post #: 23
RE: WITE Custom fonts - 12/12/2010 5:25:30 PM   
AlanBernardo

 

Posts: 200
Joined: 12/8/2007
From: Ohio
Status: offline
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

(in reply to Helpless)
Post #: 24
RE: WITE Custom fonts - 12/13/2010 9:02:23 PM   
dwesolick


Posts: 593
Joined: 6/24/2002
From: Colorado
Status: offline
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).

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

thanks

_____________________________

"The Navy has a moth-eaten tradition that the captain who loses his ship is disgraced. What do they have all those ships for, if not to hurl them at the enemy?" --Douglas MacArthur

(in reply to Helpless)
Post #: 25
RE: WITE Custom fonts - 12/13/2010 10:24:08 PM   
Helpless


Posts: 15793
Joined: 8/27/2004
Status: offline
I think it will be included in the first official patch. Meanwhile you can copy one attached. it contains all default fonts.



Attachment (1)

_____________________________

Pavel Zagzin
WITE/WITW/WITE-2 Development

(in reply to dwesolick)
Post #: 26
RE: WITE Custom fonts - 12/14/2010 3:06:01 PM   
dwesolick


Posts: 593
Joined: 6/24/2002
From: Colorado
Status: offline
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

_____________________________

"The Navy has a moth-eaten tradition that the captain who loses his ship is disgraced. What do they have all those ships for, if not to hurl them at the enemy?" --Douglas MacArthur

(in reply to Helpless)
Post #: 27
RE: WITE Custom fonts - 12/14/2010 3:10:03 PM   
Helpless


Posts: 15793
Joined: 8/27/2004
Status: offline
No new folder, just copy to the \dat.

_____________________________

Pavel Zagzin
WITE/WITW/WITE-2 Development

(in reply to dwesolick)
Post #: 28
RE: WITE Custom fonts - 12/14/2010 4:53:34 PM   
dwesolick


Posts: 593
Joined: 6/24/2002
From: Colorado
Status: offline
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!

_____________________________

"The Navy has a moth-eaten tradition that the captain who loses his ship is disgraced. What do they have all those ships for, if not to hurl them at the enemy?" --Douglas MacArthur

(in reply to Helpless)
Post #: 29
RE: WITE Custom fonts - 12/14/2010 5:07:05 PM   
Zovs


Posts: 6668
Joined: 2/23/2009
From: United States
Status: offline
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.

_____________________________


Beta Tester for:
Flashpoint Campaigns: Sudden Storm
War in the East 1 & 2
WarPlan & WarPlan Pacific
Valor & Victory
DG CWIE 2
SPWW2 & SPMBT scenario creator

(in reply to dwesolick)
Post #: 30
Page:   [1] 2 3   next >   >>
All Forums >> [New Releases from Matrix Games] >> Gary Grigsby's War in the East Series >> Scenario Design and Modding >> WITE Custom fonts Page: [1] 2 3   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.891