Package: whichwayisup
Version: 0.7.9-3
Severity: grave
Tags: patch
Justification: renders package unusable
When not having installed "ttf-dejavu-core" the Symlink from
"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf" to
"/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf" is missing and the game does
not start.
I corrected the Path in lib/util.py
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14.9 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages whichwayisup depends on:
ii fonts-dejavu-core 2.34-1
ii python 2.7.6-2
ii python-ogg 1.3+repack-6
ii python-pygame 1.9.1release+dfsg-10
whichwayisup recommends no packages.
whichwayisup suggests no packages.
--- a/lib/util.py
+++ b/lib/util.py
@@ -29,7 +29,7 @@
class Util:
pygame.font.init()
- smallfont = pygame.font.Font(data.filepath(os.path.join("/usr/share/fonts/truetype/ttf-dejavu", "DejaVuSans.ttf")), FONT_SIZE)
+ smallfont = pygame.font.Font(data.filepath(os.path.join("/usr/share/fonts/truetype/dejavu", "DejaVuSans.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()