Package: oneisenough / 0.40-3

font_path.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Author: Richard Hartmann <richih.mailinglist@gmail.com>
Description: Use TTF fonts provided by Debian instead of the ones distributed by upstream.
Forwarded: not-needed
Last-Update: 2013-06-07
--- a/bin/game.py
+++ b/bin/game.py
@@ -14,7 +14,7 @@
 from camp import Camp
 
 pygame.font.init()
-smallfont = pygame.font.Font(os.path.join("data","Vera.ttf"), 14)
+smallfont = pygame.font.Font(os.path.join("/usr/share/fonts/truetype/dejavu","DejaVuSansMono.ttf"), 14)
 
 dismiss_delay = 0
 
--- a/bin/mainmenu.py
+++ b/bin/mainmenu.py
@@ -8,7 +8,7 @@
 from locals import *
 import game
 
-smallfont = pygame.font.Font(os.path.join("data","Vera.ttf"), 22)
+smallfont = pygame.font.Font(os.path.join("/usr/share/fonts/truetype/dejavu","DejaVuSansMono.ttf"), 22)
 
 def render_score(screen, score):
   image = smallfont.render(str(score), 1, (0,0,0))