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

Game crashes using non-default fond and 2cc_Trainset-2.0.0Beta3 #3974

Closed
DorpsGek opened this issue Jul 25, 2010 · 3 comments
Closed

Game crashes using non-default fond and 2cc_Trainset-2.0.0Beta3 #3974

DorpsGek opened this issue Jul 25, 2010 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

muzzy opened the ticket and wrote:

Hello,

game crashes giving message:
"Assertion failed at line 972 of ..\src\fontcache.cpp: IsPrintable(key)"

I am using TahomaBold font downloaded from
http://ashus.ashus.net/download/file.php?id=93&sid=794c303f5843111615ae6a895f460e43

Config file has following lines ( in [misc] section )
small_font =
medium_font = TahomaBold
large_font = TahomaBold
small_size = 8
medium_size = 10
large_size = 16

I am using only one GRF file "2cc_Trainset-2.0.0Beta3.tar".

In game do following steps:
Create a depot.
Press New vehicles button
Press Rename
...

Leaving following 3 config lines empty this error do not occur:
small_font =
medium_font =
large_font =

I have reported to 2cc developers about this issue
http://dev.openttdcoop.org/issues/1128

My operating system:
Microsoft Windows 7 Ultimate 6.1.7600 (Win7 RTM)

Reported version: 1.0.3-RC1
Operating system: Windows


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

muzzy wrote:

crash files and openttd.cfg inside

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3974#comment8396

@DorpsGek
Copy link
Member Author

Rubidium wrote:

It's "just" an assert that is triggered. In release builds there are no asserts, so it isn't triggered there. It will cause some stuff to be drawn slightly unexpectedly, but it won't crash anything.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3974#comment8397

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

in r20220


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

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

No branches or pull requests

1 participant