oneisenough (0.40-2) font_path.patch

Summary

 bin/game.py     |    4 ++--
 bin/mainmenu.py |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

Index: oneisenough-0.40/bin/game.py
===================================================================
--- oneisenough-0.40.orig/bin/game.py	2009-03-19 10:15:00.000000000 -0400
+++ oneisenough-0.40/bin/game.py	2009-03-19 10:15:20.000000000 -0400
@@ -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/ttf-dejavu","DejaVuSansMono.ttf"), 14)
 
 dismiss_delay = 0
 
@@ -235,4 +235,4 @@
 
   print "Idle time: " + str(idletime) + "s, time spent processing: " + str(comptime) + "s"
   print "Average processor time taken: " + str(comptime/(idletime+comptime)*100) + "%"
-  return score
\ No newline at end of file
+  return score
Index: oneisenough-0.40/bin/mainmenu.py
===================================================================
--- oneisenough-0.40.orig/bin/mainmenu.py	2009-03-19 10:15:31.000000000 -0400
+++ oneisenough-0.40/bin/mainmenu.py	2009-03-19 10:16:18.000000000 -0400
@@ -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/ttf-dejavu","DejaVuSansMono.ttf"), 22)
 
 def render_score(screen, score):
   image = smallfont.render(str(score), 1, (0,0,0))
@@ -51,4 +51,4 @@
       clock.tick(FPS)
 
 if __name__ == '__main__':
-  run()
\ No newline at end of file
+  run()