OpenTTD

Tasklist

FS#6465 - Impossible to switch from big/tiny font back to normal in strings

Attached to Project: OpenTTD
Opened by dP (_dp_) - Sunday, 15 May 2016, 18:10 GMT
Last edited by frosch (frosch) - Thursday, 17 August 2017, 20:32 GMT
Type Patch
Category Interface
Status With patch
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version 1.6.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

There are {BIG_FONT} and {TINY_FONT} control codes but no {NORMAL_FONT} or something.
So it's only possible to use normal font at the beginning of the string.
This task depends upon

Comment by frosch (frosch) - Monday, 16 May 2016, 09:58 GMT
  • Field changed: Type (Bug → Feature Request)
The text renderer also does not support different font sizes in the same text.
Comment by dP (_dp_) - Monday, 16 May 2016, 12:14 GMT
Really? Looks fine to me. That's also why I marked it as bug since it doesn't seem to be intended.
Comment by dP (_dp_) - Monday, 30 May 2016, 22:59 GMT
Made a pretty straightforward patch that adds {NORMAL_FONT} and {MONO_FONT} control codes, seems to work ok even in weird combinations.
Also attached simple gs for testing that just shows popup message.

Loading...