[Fixed/solved]Font handling problem

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
alyr
Engineer
Engineer
Posts: 26
Joined: 01 Apr 2008 07:59
Location: Budapest, Hungary

[Fixed/solved]Font handling problem

Post by alyr »

Hi!
I encountered this problem(bug?) when upgrading to r14513 (i don't know which version i had before, but most likely a ~1 day old nightly).
On the left side of the picture, you can see the "before" state (it's a cargodest pic, but they share the same config file with the nightly), the texts are smooth. On the right side is the "present" state, there's clearly something wrong with the text. No config files were changed, and the ttf file is not corrupted (as you can see, it works with the cargodest build).
Left: before r14513<br />Right: problem since r14513
Left: before r14513
Right: problem since r14513
openTTD_text_problem_r14513.jpg (213.98 KiB) Viewed 2918 times
Last edited by alyr on 02 Feb 2009 20:54, edited 1 time in total.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Font handling problem

Post by Rubidium »

It still looks fine on my system (which also shares the same font). However, the screenshots seem to have different fonts and not differently rendered fonts (accents in one are vertical in the other they are diagonal).
alyr
Engineer
Engineer
Posts: 26
Joined: 01 Apr 2008 07:59
Location: Budapest, Hungary

Re: Font handling problem

Post by alyr »

I give up :cry:. I tried to replace/change every possible file that i could think of, but with no success. I tried it with Arial bold too, and it was the same: fonts were arial, cargodest had normal accents while the nightly had only dots instead of them (also, the text was worse than the cargodest). What really frustrates me is not the fact that the font is messed up, but that it works perfectly with another build at the same time.
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Font handling problem

Post by FooBar »

Try changing the font size. The font in your r14523 screenshot seems to be lower than in the other for some reason.
alyr
Engineer
Engineer
Posts: 26
Joined: 01 Apr 2008 07:59
Location: Budapest, Hungary

Re: Font handling problem

Post by alyr »

Thanks for the idea, it shows partly what i expected: the accents are now correct (á, é, etc), but the text itself still has bad quality & size.
alyr
Engineer
Engineer
Posts: 26
Joined: 01 Apr 2008 07:59
Location: Budapest, Hungary

Re: Font handling problem

Post by alyr »

Yay! Fixed in today's nightly :)
User avatar
ZeroMD
Engineer
Engineer
Posts: 32
Joined: 28 Sep 2008 11:18
Location: The Netherlands

Re: [Fixed/solved]Font handling problem

Post by ZeroMD »

Talking about fonts.

In Windows, users can specify a custom DPI size.
Unfortunately Open TTD looks blurry with a DPI other than 96 :(
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 2 guests