Small unreadable text in the game.

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
imigas
Engineer
Engineer
Posts: 43
Joined: 11 Jul 2004 13:02
Location: Poland

Small unreadable text in the game.

Post by imigas »

I have a problem while playing OTTD on 1680x1050 fullscreen. It's impossible to read small font, such as profits under each train or names of factories etc. in the map window. Everything is smaller in this resolution, but still readable and sharp, except of this font. Smaller resolutions don't solve the problem - unreadable text just gets bigger and that's all. What to do?
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Small unreadable text in the game.

Post by Rubidium »

What you are hitting is a feature that autodetects a working font for the given language you got. This is to prevent people getting lots of question marks when their characters are not part of the default (TTD) font.

There are two (or maybe three) ways to solve this:
- use a NewGRF font that has support for your language; look at e.g. unifont. However, for languages not using any latin characters it is unlikely such a NewGRF font exists.
- use another system font; open openttd.cfg (see readme.txt where to find it) and edit small_font to point to a font on your system, e.g. "small_font = Arial".
- use OpenGFX; this (incomplete!) graphics replacement supports more latin-related characters with their default font. However, this will only work if you language uses latin (based) characters, so not for Cyrillic, Kanji, etc.
imigas
Engineer
Engineer
Posts: 43
Joined: 11 Jul 2004 13:02
Location: Poland

Re: Small unreadable text in the game.

Post by imigas »

I use Polish, but if this is the reason I don't mind changing to English.

I will try to use your instructions and then reply. Thanks
imigas
Engineer
Engineer
Posts: 43
Joined: 11 Jul 2004 13:02
Location: Poland

Re: Small unreadable text in the game.

Post by imigas »

So, change to english language of course solves the problem, but also editing mentioned openttd.cfg file makes my polish text bigger and different. I haven't tried grf because I'm not so into it.

If only I could find the proper original font. Arial, Tahoma, Verdana... they all suck in small size :/
Vitus
Traffic Manager
Traffic Manager
Posts: 157
Joined: 11 Mar 2009 15:15

Re: Small unreadable text in the game.

Post by Vitus »

You can also try to change the setting "small_size" in openttd.cfg. However, too big font can cause other graphical issues.
imigas
Engineer
Engineer
Posts: 43
Joined: 11 Jul 2004 13:02
Location: Poland

Re: Small unreadable text in the game.

Post by imigas »

I've tried, but without this unique font it doesn't look good enough.
Vortagon
Engineer
Engineer
Posts: 1
Joined: 05 Oct 2009 15:19

Re: Small unreadable text in the game.

Post by Vortagon »

Hi Imigas. I`m from poland too, so I had the same problem. But changing font size, like Vitus said, to size 8 help me. Try different sizes, maybe it will help you.
Brumi
President
President
Posts: 921
Joined: 18 Jul 2009 17:54

Re: Small unreadable text in the game.

Post by Brumi »

Well, for me it works if I set the large_font and the medium_font in openttd.cfg, and leave the small_font blank. Then no matter what language I use, OpenTTD doesn't autodetect my language and the original font is used for small texts. In my opinion, Tahoma Bold is quite a good substitute for the original font in medium size.
My configuration is:

Code: Select all

small_font = 
medium_font = Tahoma Bold
large_font = Tahoma
small_size = 6
medium_size = 10
large_size = 20
If your OS is Polish, then you'll have to replace the word 'Bold' with the Polish equivalent. The problem comes if that word includes non-English characters (I'm Hungarian and I had that problem with the word 'félkövér'). Then you'll have to find the substitute characters for those letters in polish.lng.
I hope this was helpful. :)
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 3 guests