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

Emoji results in question mark πŸ˜€ 🠚 ? #7762

generateui opened this issue Oct 5, 2019 · 6 comments

Emoji results in question mark πŸ˜€ 🠚 ? #7762

generateui opened this issue Oct 5, 2019 · 6 comments


Copy link

@generateui generateui commented Oct 5, 2019

Version of OpenTTD


Expected result

emoji in chatbox

Actual result

question mark in chatbox

Steps to reproduce

  1. open OpenTTD
  2. enter a network game
  3. hit enter so that the chat input box opens
  4. type windows key + dot (⊞ + .)
  5. pick an emoji, resulting in a character (? instead of, say, πŸ˜€) being added in the chat input box
Copy link

@glx22 glx22 commented Oct 5, 2019

'?' just means the character is not present in the font used by OpenTTD. So it works as intended.

Copy link

@planetmaker planetmaker commented Oct 5, 2019

You might want to configure OpenTTD to use a font of your choice which supports emojis as "characters". See

Copy link

@FLHerne FLHerne commented Oct 5, 2019

For in-game chat, configuring the user's own font won't help much, because the recipient will still see such characters as "?".

Does OTTD really need emojis?

Copy link

@generateui generateui commented Oct 6, 2019

Does OTTD really need emojis?

It's the defacto standard nowadays to communicate emotion. Needing is maybe overstated. But if you make a chatbox, why allow a big chunk of the communication to be broken?

@generateui generateui changed the title Emoji results in question mark Emoji results in question mark πŸ˜€ 🠚 ? Oct 6, 2019
Copy link

@Eddi-z Eddi-z commented Oct 6, 2019

The main problem is to find a reliable way to select fonts, that works across all OSes. But in the end, you can never know if that worked for the other player, or they even had any emoji fonts installed at all, so there's always a chance that the other person only sees garbage.

Copy link

@LordAro LordAro commented Oct 14, 2019

Known, ultimately there's nothing we can do about it


Lines 249 to 269 in ac21118

Unreadable characters for non-latin locales [#4607]:
OpenTTD does not ship a non-latin font in its graphics files. As a
result OpenTTD needs to acquire the font from somewhere else. What
OpenTTD does is ask the operating system, or a system library, for
the best font for a given language if the currently loaded font
does not provide all characters of the chosen translation. This
means that OpenTTD has no influence over the quality of the chosen
font; it just does the best it can do.
If the text is unreadable there are several steps that you can take
to improve this. The first step is finding a good font and configure
this in the configuration file. See section 9.0 of for
more information. You can also increase the font size to make the
characters bigger and possible better readable.
If the problem is with the clarity of the font you might want to
enable anti-aliasing by setting the small_aa/medium_aa/large_aa
settings to "true". However, anti-aliasing only works when a 32-bit
blitter has been selected, e.g. blitter = "32bpp-anim", as with the
8 bits blitter there are not enough colours to properly perform the

@LordAro LordAro closed this Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

6 participants