OpenGFX icon indicating copy to clipboard operation
OpenGFX copied to clipboard

Upper-case umlauts don't fit into input field

Open Wuzzy2 opened this issue 4 years ago • 2 comments

Version of OpenTTD

1.11.0-dev and 1.9.3

Expected result

If you enter upper-case umlauts like “Ä”, “Ö” or “Ü” in a text field (for example, when renaming a company or vehicle), the letters render properly.

Actual result

If you enter upper-case umlauts, the “dots” on the umlaut are not visible. “Ä” appears as “A”, “Ö” appears as “O” and “Ü” appears as “U”.

Steps to reproduce

Rename your company. Enter any upper-case umlaut like “Ä”. If you're set the language to German, you can make your life easier by using the on-screen keyboard.

Screenshot evidence in 1.9.3.

https://satoshiupload.com/images/Q95r3pOhOw.png

This image contains a company name with 3 uppercase umlauts. The name is a German nonsense name "Äther-KG Ötzerlitz-Überkirchen”.

Wuzzy2 avatar Jan 31 '21 01:01 Wuzzy2

Just to confirm that the bug reproduces in 1.11.0-beta1 and that the umlauted letters still look different from the normal letters in the default spritefont: image

James103 avatar Jan 31 '21 02:01 James103

I've moved this issue to OpenGFX, as it's not (technically) an issue with OpenTTD - the sprite font has a fixed height, and OGFX isn't respecting it for the umlauted characters

LordAro avatar Feb 13 '21 22:02 LordAro