Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Changing Fonts

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

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> Norm Koger's The Operational Art Of War III >> Changing Fonts Page: [1]
Login
Message << Older Topic   Newer Topic >>
Changing Fonts - 8/11/2010 10:10:35 PM   
ralphtricky


Posts: 6685
Joined: 7/27/2003
From: Colorado Springs
Status: offline
The 3.4 patch added support for using 'real' windows fonts instead of bitmaps. It was added mainly for support of non european languages. You don't have to edit these, and I suspect that most people will use either the standard file, or will use one that they download. If you mess it up too much, delete it and TOAW will create one for you.

Creating the default was a compromise of several different objectives.
We wanted to use the bitmapped font in most of the places where a unit name was displayed. That is because the SS runes are only available there.
We tried to mostly use fonts available for Windows XP. I believe that we did use a couple of fonts that are only available if you installed either Office, one of the Office viewers or Windows 7.

A couple for things for brave people to try... See if you agree that the windows 7 fonts are better. I had some problems in that they would sometimes 'bleed' out of the boxes but I felt that they were easier to read than the bitmaps.

There's a file called Opart 3 Fonts.ini in the Matrix Games/The Operational Art of War directory. It's somewhat self-explanatory, except for the 'unicode' entries. These are intended for anyone that wants to try using a language like Chinese instead of English. I did what I could to support that, but I can't read Chinese so I don't know how well I did.

Ralph


_____________________________

Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
Post #: 1
RE: Changing Fonts - 8/12/2010 9:06:22 AM   
vsadek


Posts: 125
Joined: 1/3/2010
From: Zagreb, Croatia
Status: offline
quote:

Opart 3 Fonts.ini


Hello Ralph!

Thank you for this info. I thought that support for Windows fonts is already implemented into 3.2.29.27 version of TOAW III. I successfully edited Opart 3 Fonts.ini file in 3.2.29.27 and using some of the Win fonts: Calibri as [DocumentFont] and [ObjectiveFont] and Tahoma as [MediumFont] and [SmallFont].


_____________________________


(in reply to ralphtricky)
Post #: 2
RE: Changing Fonts - 8/13/2010 4:54:32 PM   
alexzhz


Posts: 84
Joined: 11/25/2007
Status: offline
Well done! Ralph. There's some problems in display of Chinese charactors after patching the 3.4 patch, however, by modifying Opart 3 Fonts.ini and deleting Opart 3 Fonts Chinese.ini, we successfully solved the problem. It seems there's no need to make an font file only for Chinese, actrually, Chinese and other languages can share the same Opart 3 Fonts.ini.

_____________________________


(in reply to vsadek)
Post #: 3
RE: Changing Fonts - 8/13/2010 5:04:52 PM   
alexzhz


Posts: 84
Joined: 11/25/2007
Status: offline

Well, let's see, this is the problem after patching the new patch. By selecting Chinese language, What it displayed is neither Chinese nor any other languages.

So we changed the original ini file, and now both Chinese and English can display in a proper way, with the same ini file.





< Message edited by Spider -- 8/13/2010 5:08:12 PM >


_____________________________


(in reply to alexzhz)
Post #: 4
RE: Changing Fonts - 8/13/2010 5:06:59 PM   
alexzhz


Posts: 84
Joined: 11/25/2007
Status: offline
And here's the ini configuration

[Colors]
ToolTipDelay=10
ToolTipAlpha=150
ToolTipColor=0x0A9639
Background=0x7F7F7F
Gold=0xFFD400
Red=0xFF0000
Silver=0xFDF5E6
[DocumentFont]
TextColor=0xFFFFFF
BackColor=0x7F7F7F
windowsFont=Y
Outline=N
Background=N
Spacing=0
Weight=400
Size=9
Font=Arial
[MediumFont]
BackColor=0x7F7F7F
windowsFont=Y
Outline=N
Background=N
Spacing=1
Weight=400
Size=8
Font=Arial bold
[SmallFont]
BackColor=0x7F7F7F
windowsFont=Y
Outline=N
Background=N
Spacing=2
Weight=400
Size=7
Font=Arial bold
[ObjectiveFont]
TextColor=0xFFFF84
BackColor=0xFFFFFF
windowsFont=Y
Outline=Y
Background=N
Spacing=0
Weight=400
Size=15
Font=Arial bold
[Unicode]
UnicodeFonty=-4
UnicodeFontx=0
UnicodeFont=N
[ToolTipFont]
TextColor=0
BackColor=0x7F7F7F
windowsFont=Y
Outline=N
Background=N
Spacing=0
Weight=500
Size=12
Font=Times New Roman
[SupplyFont]
TextColor=0xFFFFFF
BackColor=0x7F7F7F
windowsFont=Y
Outline=Y
Background=N
Spacing=1
Weight=900
Size=9
Font=Times New Roman
[SmallSupplyFont]
TextColor=0xFFFFFF
BackColor=0x7F7F7F
windowsFont=N
Outline=Y
Background=N
Spacing=1
Weight=900
Size=9
Font=Times New Roman
[PlaceNameFont]
TextColor=0xCEFFFF
BackColor=0x7F7F7F
windowsFont=Y
Outline=Y
Background=N
Spacing=1
Weight=900
Size=10
Font=Times New Roman
[PlaceNameFont1]
TextColor=0xCEFFFF
BackColor=0x7F7F7F
windowsFont=Y
Outline=Y
Background=N
Spacing=1
Weight=900
Size=20
Font=Times New Roman
[PlaceNameFont2]
TextColor=0x00BFFF
BackColor=0x7F7F7F
windowsFont=Y
Outline=Y
Background=N
Spacing=1
Weight=900
Size=10
Font=Times New Roman
[PlaceNameFont3]
TextColor=0xCEFFFF
BackColor=0x7F7F7F
windowsFont=Y
Outline=Y
Background=N
Spacing=1
Weight=900
Size=7
Font=Times New Roman
[UnitInfoSmallFont]
TextColor=0xFFFF84
BackColor=0x7F7F7F
windowsFont=N
Outline=Y
Background=N
Spacing=1
Weight=900
Size=7
Font=Times New Roman
[UnitInfoMediumFont]
TextColor=0xFFFF84
BackColor=0x7F7F7F
windowsFont=N
Outline=N
Background=N
Spacing=1
Weight=900
Size=8
Font=Times New Roman


_____________________________


(in reply to ralphtricky)
Post #: 5
RE: Changing Fonts - 8/13/2010 5:15:22 PM   
Panama


Posts: 1362
Joined: 10/30/2009
Status: offline
Wow, great job.

_____________________________


(in reply to alexzhz)
Post #: 6
RE: Changing Fonts - 8/13/2010 9:40:13 PM   
ralphtricky


Posts: 6685
Joined: 7/27/2003
From: Colorado Springs
Status: offline
quote:

ORIGINAL: Spider

Well done! Ralph. There's some problems in display of Chinese charactors after patching the 3.4 patch, however, by modifying Opart 3 Fonts.ini and deleting Opart 3 Fonts Chinese.ini, we successfully solved the problem. It seems there's no need to make an font file only for Chinese, actrually, Chinese and other languages can share the same Opart 3 Fonts.ini.

Awesome! I thought I'd tried that. It could be that I was having problems becuase I was running English as the language for Windows 7, but running a Chinese scenario??

Let me know if you run into any problems with it (other than the vertical spacing, I can't fix that until 4 comes out.

_____________________________

Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.

(in reply to alexzhz)
Post #: 7
RE: Changing Fonts - 1/10/2012 11:19:27 PM   
Grimnirsson


Posts: 132
Joined: 12/25/2011
Status: offline
We changed the fonts too but not to Chinese the bitmap fonts were too hard to read really and it now is just wonderful (like the whole game!).
But as it was said here the SS runes are not available. That wouldn't bother me that much, but we have just two 'square signs' now as a placeholder (playing a downloaded Arnhem scenario). Wouldn't it be possible to have at least SS standing there? How could we change a windows font that it will display two S characters instead of two weird signs?

Thanks


_____________________________


(in reply to ralphtricky)
Post #: 8
RE: Changing Fonts - 1/12/2012 12:46:32 AM   
Grimnirsson


Posts: 132
Joined: 12/25/2011
Status: offline
Anyone? Any idea??

_____________________________


(in reply to Grimnirsson)
Post #: 9
RE: Changing Fonts - 1/12/2012 3:16:46 PM   
sPzAbt653


Posts: 9443
Joined: 5/3/2007
From: east coast, usa
Status: offline
No idea about the possibility of font changes, but you could open the scenario in the editor and change the '' in the unit names to 'SS' manually. Should only take a couple minutes, but you will have to start the scenario over for the change to take effect.

(in reply to Grimnirsson)
Post #: 10
RE: Changing Fonts - 1/13/2012 10:16:39 AM   
Grimnirsson


Posts: 132
Joined: 12/25/2011
Status: offline
Thanks, but that exactly is what I try to avoid
I thought more about a possibility to have the signs changed into SS where the scenario is getting the fonts from or something like that, so that it would always work no mater the scenario.

_____________________________


(in reply to sPzAbt653)
Post #: 11
RE: Changing Fonts - 1/15/2012 2:00:35 PM   
1_Lzard


Posts: 528
Joined: 8/18/2010
From: McMinnville, OR
Status: offline
Well, looks like you need to give the bitmap fonts another go! Try ms sans serif and change the size, eh? This should give you the SS as runes.

Work around with it, works for me........

_____________________________

"I have the brain of a Genius, and the heart of a Little Child. I keep them in a jar under my bed!"

(in reply to Grimnirsson)
Post #: 12
RE: Changing Fonts - 1/16/2012 9:39:13 AM   
Grimnirsson


Posts: 132
Joined: 12/25/2011
Status: offline
Lzard,

any chance that you could post your opfont.ini here? Would like to take a look and perhaps it works for me as well so I can skip the 'workaround' part

Thanks

_____________________________


(in reply to 1_Lzard)
Post #: 13
RE: Changing Fonts - 1/24/2012 7:01:53 PM   
1_Lzard


Posts: 528
Joined: 8/18/2010
From: McMinnville, OR
Status: offline
Andreas,

Yes, I DID miss this..........anyway:

[Colors]
ToolTipDelay=10
ToolTipAlpha=150
ToolTipColor=0x0A9639
Background=0x7F7F7F
Gold=0xFFD700
Red=0xFF0000
Silver=0xFFFFFF
[DocumentFont]
TextColor=0xFFFFFF
BackColor=0x7F7F7F
windowsFont=N
Outline=N
Background=Y
Spacing=0
Weight=700
Size=10
Font=Arial
[MediumFont]
BackColor=0x7F7F7F
windowsFont=N
Outline=N
Background=Y
Spacing=1
Weight=900
Size=8
Font=MS San Serif
[SmallFont]
BackColor=0x7F7F7F
windowsFont=N
Outline=N
Background=Y
Spacing=1
Weight=900
Size=7
Font=MS San Serif
[ObjectiveFont]
TextColor=0xFFFF84
BackColor=0xFFFFFF
windowsFont=N
Outline=Y
Background=N
Spacing=0
Weight=900
Size=12
Font=Arial
[Unicode]
UnicodeFonty=-4
UnicodeFontx=0
UnicodeFont=N
[ToolTipFont]
TextColor=0
BackColor=0x7F7F7F
windowsFont=Y
Outline=N
Background=N
Spacing=0
Weight=500
Size=12
Font=Times New Roman
[SupplyFont]
TextColor=0xFFFFFF
BackColor=0x7F7F7F
windowsFont=Y
Outline=Y
Background=N
Spacing=1
Weight=900
Size=9
Font=Times New Roman
[SmallSupplyFont]
TextColor=0xFFFFFF
BackColor=0x7F7F7F
windowsFont=N
Outline=Y
Background=N
Spacing=1
Weight=900
Size=9
Font=Times New Roman
[PlaceNameFont]
TextColor=0xCEFFFF
BackColor=0x7F7F7F
windowsFont=Y
Outline=Y
Background=N
Spacing=1
Weight=900
Size=10
Font=Times New Roman
[PlaceNameFont1]
TextColor=0xCEFFFF
BackColor=0x7F7F7F
windowsFont=Y
Outline=Y
Background=N
Spacing=1
Weight=900
Size=20
Font=Times New Roman
[PlaceNameFont2]
TextColor=0x00BFFF
BackColor=0x7F7F7F
windowsFont=Y
Outline=Y
Background=N
Spacing=1
Weight=900
Size=10
Font=Times New Roman
[PlaceNameFont3]
TextColor=0xCEFFFF
BackColor=0x7F7F7F
windowsFont=Y
Outline=Y
Background=N
Spacing=1
Weight=900
Size=7
Font=Times New Roman
[UnitInfoSmallFont]
TextColor=0xFFFF84
BackColor=0x7F7F7F
windowsFont=N
Outline=Y
Background=N
Spacing=1
Weight=900
Size=7
Font=Times New Roman
[UnitInfoMediumFont]
TextColor=0xFFFF84
BackColor=0x7F7F7F
windowsFont=N
Outline=N
Background=N
Spacing=1
Weight=900
Size=8
Font=Times New Roman

Enjoy!

_____________________________

"I have the brain of a Genius, and the heart of a Little Child. I keep them in a jar under my bed!"

(in reply to Grimnirsson)
Post #: 14
RE: Changing Fonts - 5/8/2012 7:00:20 PM   
sad git

 

Posts: 12
Joined: 7/30/2010
Status: offline
My attempt:-



Mainly the MS San Serif font (Windows), default sizes, with Outline. It looks clearer to read to me, albeit a bit squashy occasionally. Placenames are in Comic Sans MS which I think looks quite nice.

The documentation does actually say specifically that you're not meant to use Windows fonts except for placenames. Oops!



< Message edited by sad git -- 5/8/2012 7:02:58 PM >

(in reply to 1_Lzard)
Post #: 15
RE: Changing Fonts - 5/9/2012 12:24:47 AM   
Panama


Posts: 1362
Joined: 10/30/2009
Status: offline

Ditto on the Comic Sans MS. Trying yellow fill for now.








Attachment (1)

_____________________________


(in reply to sad git)
Post #: 16
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> Norm Koger's The Operational Art Of War III >> Changing Fonts Page: [1]
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.219