Official Soldat Forums

Soldat Fans => Translations => Topic started by: homerofgods on December 30, 2015, 03:41:05 pm

Title: Alternative fonts
Post by: homerofgods on December 30, 2015, 03:41:05 pm
THEESE ARE COMMERCIALLY FREE FONTS THAT SEAM TO FIT SOLDAT.
Play.ttf look similar to BankGothic Lt BT which soldat uses by default.


Name: Play-Regular_3.ttf
Website: http://www.fontsquirrel.com/fonts/play (http://www.fontsquirrel.com/fonts/play)
Works for: Belarusian, Brazilian portuguese, Catalan, Croatian, Czech, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Italian, Lithuanian, Norwegian, Polish, Russian, Slovak, Spanish, Swedish, Turkish, Ukrainian

Name: FreeSerif.otf
Website: http://ftp.gnu.org/gnu/freefont/ (http://ftp.gnu.org/gnu/freefont/)
Works for: Hebrew, Thai

Name: NotoSansMonoCJKtc-Regular.otf
Website: https://github.com/googlei18n/noto-cjk (https://github.com/googlei18n/noto-cjk)
Works for: Chinese (traditional)

Name: NotoSansMonoCJKjp-Regular.otf
Website: https://github.com/googlei18n/noto-cjk (https://github.com/googlei18n/noto-cjk)
Works for: Japanese

Name:
NotoSansMonoCJKkr-Regular.otf
Website: https://github.com/googlei18n/noto-cjk (https://github.com/googlei18n/noto-cjk)
Works for: Korean

How to install:

1.Download all alternatice fonts from the attachment, or visit the websites for single font download or to look for updates
2. Open Soldat/txt/font.ini
3. Remove these two lines at the bottom:
Font1File=C:\Soldat Beta2\bgothl.ttf
Font2File=C:\Soldat Beta2\lucon.ttf
4. Replace
Font1=BankGothic Lt BT
Font2=Lucida Console
with
Font1=Play
Font2=Play
5. Save and open soldat.
6. To see if you have loaded the correct font, open font.ini again and see if the two bottom lines are:
Font1File=C:\WINDOWS\Fonts\Play-Regular_3.ttf
Font2File=C:\WINDOWS\Fonts\Play-Regular_3.ttf

Please ask me if you're stuck :)
Font1= font for pre-game menu and and in-game menus
Font2= font for console and all texts in-game except menus

Finally, something to convince you that Play is better than BankGothic Lt BT
http://i.imgur.com/aZ7uVOb.gif (http://i.imgur.com/aZ7uVOb.gif)
http://i.imgur.com/McpjjX5.gif (http://i.imgur.com/dGb9xCy.gif)
Title: Re: Alternative fonts
Post by: Akinaro on December 31, 2015, 04:24:34 am
Vote for play, but it would need more space between letters because they are look to "squeezed" on bigger res(personal opinion).
If they are free it would be matter of few clicks to make it.
Title: Re: Alternative fonts
Post by: CCalp on December 31, 2015, 07:14:05 am
Thank you for your work! I'm really curious what font will be standard for 1.7 eventually...

Finally, something to convince you that Play is better than BankGothic Lt BT
http://i.imgur.com/aZ7uVOb.gif (http://i.imgur.com/aZ7uVOb.gif)
http://i.imgur.com/McpjjX5.gif (http://i.imgur.com/dGb9xCy.gif)
[/font]

TBH that does not convince me at all. Directly compared, I would definitely prefer the old font :3
Title: Re: Alternative fonts
Post by: Viral on December 31, 2015, 11:18:11 am
I would opt for Play aswell, and just like Akinaro said - less squeezed and it would be perfect (for example the "primary weapon" text; the words nearly touch each other)
Title: Re: Alternative fonts
Post by: homerofgods on January 22, 2016, 07:34:21 pm
One of the arguments against using the Play font is that it is not as wide as BankGothic Bt Lt. 
However, there is a variable in font.ini that you can adjust to widen the font. So I tried to set FontHeightScale=  from 125 to 150.
This is a comparison of BankGothic Bt Lt vs Play 150%
http://i.imgur.com/cYPb8Cq.gif (http://i.imgur.com/Srt6AWk.gif)

Another arguement is that the Play font looks pixely in lower resolutions. I think BankGothic works better on lower resolutions because it has more square characters or something. I'm still thinking how that could possibly be solved.
Title: Re: Alternative fonts
Post by: Akinaro on January 23, 2016, 06:53:40 am
By low resolution you mean 640x480? I dont think it would be a problem, Its really hard to find people who use this res. Even cheapest netbook or tablet have 1024x600 screen and even this res is replaced with 1280x768 for any cheap netbook.

And to be honest Soldat should dump anything related to 4:3 format and set minimum resolution to eg. 960x540 or even 1024x600, and recommended for window to 1280x720.

For past 3 years, most common resolution used is 1366x768 and 1080x1920 and even if 4k is trendy in media, looking at any statistic from game portals and web services any bigger resolution is still between 2-5% And nothing show that its gonna be changed in next 2-3 years(and just because some of you use bigger res screen or dual monitor, it doesnt mean that rest of the world fallow it).
So keeping specific resolution instead of worrying about everyone, would be just easier to maintain quality and it would remove any future problems with scaling or making eg fonts to fit to screen.
And I dont think it would harm in any way player base.
Title: Re: Alternative fonts
Post by: homerofgods on January 23, 2016, 12:17:12 pm
Removing 640x480 from config would certainly solve the problems of pixely font. If anyone still use 640x480 they can choose custom resolution. They could also change font back to BankGothic Bt Lt, assuming they use a supported translation like English.

Shoozza are there any other resolutions where you'd get pixely font?
Title: Re: Alternative fonts
Post by: duz on January 23, 2016, 02:35:24 pm
This 640x480 thing is something that I don't get. Check the Steam resolutions statistics, pick a new minimum and done.
Good job homerofgods, Play looks good.
Title: Re: Alternative fonts
Post by: homerofgods on January 23, 2016, 07:29:33 pm
Here are the statistics
http://store.steampowered.com/hwsurvey/
Title: Re: Alternative fonts
Post by: L[0ne]R on January 23, 2016, 08:05:12 pm
Hah. 640x480 isn't even listed in the survey results, and 800x600 is at 0.07% users.
Title: Re: Alternative fonts
Post by: Akinaro on January 24, 2016, 02:56:54 am
Steam statistic are a bit messed up.
For example recently in other forum we found out that steam have problems with dual graphic systems. So if you have integrated intel and nvidia or ati dedicated graphic for most of time steam pick up intel, because system use it when you run just steam app
The same with resolution. For most of time I have 32" TV plugged to laptop and I still prefer 720p resolution when playing even old games. But before I play it I have system running on native resolution of 1080p
Title: Re: Alternative fonts
Post by: homerofgods on February 03, 2016, 06:23:56 am
Everyone, try this font.ini (Soldat --> txt --> font.ini)

https://dl.dropboxusercontent.com/u/77977052/New%20folder/font.ini (https://dl.dropboxusercontent.com/u/77977052/font.ini)

I'm hoping it will be default in the next update (1.7.1)
Title: Re: Alternative fonts
Post by: duz on February 04, 2016, 06:50:45 am
Everyone, try this font.ini (Soldat --> txt --> font.ini)

I'm hoping it will be default in the next update (1.7.1)
What's the difference?
Title: Re: Alternative fonts
Post by: homerofgods on February 04, 2016, 10:25:02 am
Everyone, try this font.ini (Soldat --> txt --> font.ini)

I'm hoping it will be default in the next update (1.7.1)
What's the difference?
Play is used for both fonts, and I've spent some time trying out different sizes for the different variables
Title: Re: Alternative fonts
Post by: duz on February 04, 2016, 10:33:45 am
There's a way to change the chat lines spacing?
Title: Re: Alternative fonts
Post by: homerofgods on February 04, 2016, 10:45:47 am
There's a way to change the chat lines spacing?
You can either change the size of FontConsoleSize= wich would affect Chat, F1 menu, Weapons menu
Or you could set a higher value for Font2ScaleX= wich would make it wider and at the same time less high

I've asked Urraka for Font1ScaleY= and Font2ScaleY= so that we could edit height and width individually
Title: Re: Alternative fonts
Post by: duz on February 04, 2016, 02:10:18 pm
Nothing to change the spacing between the chat lines? :/
If I adjust the size of the texts, there's a huge space between the lines...