Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upper-case umlauts don't fit into input field #53

Open
Wuzzy2 opened this issue Jan 31, 2021 · 2 comments
Open

Upper-case umlauts don't fit into input field #53

Wuzzy2 opened this issue Jan 31, 2021 · 2 comments

Comments

@Wuzzy2
Copy link

@Wuzzy2 Wuzzy2 commented Jan 31, 2021

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”.

@James103
Copy link

@James103 James103 commented Jan 31, 2021

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

@LordAro LordAro transferred this issue from OpenTTD/OpenTTD Feb 13, 2021
@LordAro
Copy link
Member

@LordAro LordAro commented Feb 13, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants