The International Simutrans Forum

 

Author Topic: [r8765] font size from theme does not quite work  (Read 564 times)

0 Members and 1 Guest are viewing this topic.

Offline Leartin at

  • Devotee
  • *
  • Posts: 1280
  • PAK-DEV P192C
  • Languages: DE, EN
[r8765] font size from theme does not quite work
« on: June 06, 2019, 04:33:02 AM »
You can define a font size in the theme, and Simutrans takes the value, but does not change the displayed font size. There probably needs to be a call to the font routine in the theme selection such that it actually works.
(In order to test, you first have to pick a different font, since the standard bitmap font never changes size in the first place. perhaps, since the font size can be set in the theme, the font could be set as well, similar to websites as a list of potential fonts where the first installed on the system is used?)

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5559
  • Languages: EN, NO
Re: [r8765] font size from theme does not quite work
« Reply #1 on: June 06, 2019, 04:52:13 AM »
Setting the font sounds very much like something that belongs in a theme.