File whichwayisup-font.patch of Package whichwayisup

diff -Naur lib.old/util.py lib/util.py
--- lib.old/util.py	2009-12-26 18:46:39.313074230 +0800
+++ lib/util.py	2009-12-26 18:47:13.324200123 +0800
@@ -29,7 +29,7 @@
 class Util:
 
   pygame.font.init()
-  smallfont = pygame.font.Font(data.filepath(os.path.join("misc", "Vera.ttf")), FONT_SIZE)
+  smallfont = pygame.font.Font("/usr/share/fonts/truetype/Vera.ttf", FONT_SIZE)
   cached_text_images = {}
   cached_images = {}
   cached_images["key_z"] = pygame.image.load(data.picpath("key", "z"))
@@ -302,4 +302,4 @@
   tmp.blit(screen,(0,0))
   screen = pygame.display.set_mode((SCREEN_WIDTH,SCREEN_HEIGHT),mode)
   screen.blit(tmp,(0,0))
-  pygame.display.flip()
\ No newline at end of file
+  pygame.display.flip()
openSUSE Build Service is sponsored by