OpenTTD

Tasklist

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

Attached to Project: OpenTTD
Opened by Ed (muzzy) - Sunday, 25 July 2010, 19:49 GMT
Last edited by Remko Bijker (Rubidium) - Sunday, 25 July 2010, 23:15 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System Windows
Severity Low
Priority Normal
Reported Version 1.0.3-RC1
Due in Version 1.0.4
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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)
This task depends upon

Closed by  Remko Bijker (Rubidium)
Sunday, 25 July 2010, 23:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  in r20220
Comment by Ed (muzzy) - Sunday, 25 July 2010, 19:51 GMT
crash files and openttd.cfg inside
   error.rar (354.6 KiB)
Comment by Remko Bijker (Rubidium) - Sunday, 25 July 2010, 20:32 GMT
  • Field changed: Status (New → Confirmed)
  • Field changed: Due in Version (Undecided → 1.0.4)
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.

Loading...