Does not go past the loading screen
Bug #86736 reported by
donatello
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
solarwolf (Debian) |
New
|
Unknown
|
|||
solarwolf (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Binary package hint: solarwolf
I installed the game successfully and tried to play it.
The game does not go past the loading screen in edgy. It is really frustrating because this happened in dapper too. The game worked well in suse. At that time i don't think it used pygame.
Changed in solarwolf: | |
status: | Unknown → New |
To post a comment you must log in.
This appears to actually be a bug in pygame, which spins forever when some bold or italic fonts are requested. Observe that this hangs:
python -c "import pygame, pygame.font; pygame.font.init(); print pygame. font.SysFont( 'sans', 14, 1, 1)"
The following patch to /usr/lib/ games/solarwolf /txt.py works around the problem:
--- txt.py.orig 2007-03-18 15:02:09.000000000 +0000 has_key( val):
FontPool[ val] = font
+++ txt.py 2007-03-18 15:00:50.000000000 +0000
@@ -24,6 +24,8 @@
if FontPool.
font = FontPool[val]
else:
+ italic = 0
+ bold = 0 # some not found
font = SysFont(name, size, bold, italic)
self.font = font