The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: RESTRICTED ACCOUNT on September 02, 2020, 02:35:37 PM

Title: Dancing character
Post by: RESTRICTED ACCOUNT on September 02, 2020, 02:35:37 PM
If you select a font that is not monospaced, the letters in the lower center of the screen will dance.  :)
(https://i.imgur.com/8ByeJqe.gif)
Title: Re: Dancing character
Post by: RealAmerican1776 on September 02, 2020, 02:44:21 PM
Odd, it looks like the characters are moving with the time.
Title: Re: Dancing character
Post by: Ters on September 02, 2020, 05:53:50 PM
Many otherwise proportional fonts keep their digits monospaced to avoid such issues. It is also very important for presenting tables of (usually right-justified) numbers. I've never heard of a programmatic solution to this. Just use a font with monospaced digits.

Simutrans might have to do something about the fact that the hours switch between one and two digits. If there is no such thing as a space character that is the same width as a digit, then padding with zero is the only option.
Title: Re: Dancing character
Post by: prissi on October 20, 2020, 12:58:38 AM
r9309 will not have dancing middle text anymore.