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

Crash when font misses '?' glyph #4405

Closed
DorpsGek opened this issue Jan 14, 2011 · 4 comments
Closed

Crash when font misses '?' glyph #4405

DorpsGek opened this issue Jan 14, 2011 · 4 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

o01eg opened the ticket and wrote:

Got SEGFAULT by infinity recursion in function GetGlyph.

1.txt - gdb backtrace
f16.pcf.gz - /usr/share/fonts/efont-unicode/f16.pcf.gz

Attachments

Reported version: trunk
Operating system: Linux


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

frosch wrote:

The font does not contain a '?' character, which is used whenever an other character is missing.

I guess we need to use the bitmap font in that case.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4405#comment9450

@DorpsGek
Copy link
Member Author

o01eg wrote:

Can I point to another font for OpenTTD?


This comment was imported from FlySpray: https://bugs.openttd.org/task/4405#comment9451

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Fixed

in r21789, the font 'f16' is useless nevertheless, but OpenTTD will pick a different one


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

@DorpsGek
Copy link
Member Author

frosch wrote:

You can specify your own fonts in ~/.openttd/openttd.cfg
E.g.:
small_font = DejaVu Sans
medium_font = DejaVu Sans, bold
large_font = Century Schoolbook L


This comment was imported from FlySpray: https://bugs.openttd.org/task/4405#comment9453

@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