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

Freetype problem on language changes #4261

Closed
DorpsGek opened this issue Nov 22, 2010 · 2 comments
Closed

Freetype problem on language changes #4261

DorpsGek opened this issue Nov 22, 2010 · 2 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

thror opened the ticket and wrote:

Using freetype fonts when you change the game languaje to another which it isn't supported by the current font the game shows wrong characters, instead of call SetFallbackFont and choose a better font.

This can be reproduced using any non-unicode font and setting, for example, Chinese languange.

I've made a patch that, in my case, solves the problem but I'm not sure about if it's the best way to solve it.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/4261
@DorpsGek
Copy link
Member Author

thror wrote:

Still fails if medium font is an unicode font and small & large fonts aren't


This comment was imported from FlySpray: https://bugs.openttd.org/task/4261#comment9175

@DorpsGek
Copy link
Member Author

glx closed the ticket.

Reason for closing: Fixed

In r21321.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4261

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant