change uncommon currency symbols in japanese.txt to 3 letter codes to avoid fonts be rejected for missing characters

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
User avatar
BPplays
Engineer
Engineer
Posts: 2
Joined: 21 Jun 2023 17:22

change uncommon currency symbols in japanese.txt to 3 letter codes to avoid fonts be rejected for missing characters

Post by BPplays »

some fonts dont have symbols for less common currency symbols so it might be worth considering changing them to 3 letter codes in japanese.txt and others if there are any. for example ESP (₧), FRF (₣), GRD (₯), NLG (ƒ), RUR (₽), TRY (₺), KRW (₩), RUB (₽), INR (₹)
Eddi
Tycoon
Tycoon
Posts: 8272
Joined: 17 Jan 2007 00:14

Re: change uncommon currency symbols in japanese.txt to 3 letter codes to avoid fonts be rejected for missing characters

Post by Eddi »

Do you have any examples of fonts that do and don't have these symbols?
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1732
Joined: 30 Mar 2005 09:43

Re: change uncommon currency symbols in japanese.txt to 3 letter codes to avoid fonts be rejected for missing characters

Post by peter1138 »

This is now implemented in https://github.com/OpenTTD/OpenTTD/pull/11061, with screenshot examples of the problem.

Most of the currency symbols are not actually used in the currencies in game for this very reason. This only affects the translations of the currency names, which being up to translators, did not restrict these symbols.
He's like, some kind of OpenTTD developer.
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: Ahrefs [Bot] and 20 guests