The International Simutrans Forum

 

Author Topic: Dancing character  (Read 379 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 1412
  • Languages: ja
Dancing character
« 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.  :)

Offline TheRoadmaster1996

  • *
  • Posts: 265
  • Languages: EN, some ES
Re: Dancing character
« Reply #1 on: September 02, 2020, 02:44:21 PM »
Odd, it looks like the characters are moving with the time.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5683
  • Languages: EN, NO
Re: Dancing character
« Reply #2 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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10439
  • Languages: De,EN,JP
Re: Dancing character
« Reply #3 on: October 20, 2020, 12:58:38 AM »
r9309 will not have dancing middle text anymore.