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
+++ txt.py      2007-03-18 15:00:50.000000000 +0000
@@ -24,6 +24,8 @@
         if FontPool.has_key(val):
             font = FontPool[val]
         else:
+            italic = 0
+            bold = 0 # some not found
             font = SysFont(name, size, bold, italic)
             FontPool[val] = font
         self.font = font

-- 
Does not go past the loading screen
https://launchpad.net/bugs/86736

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to