From d19d1fdbbf08b9ac9304d1fec0d9aa1ac9083877 Mon Sep 17 00:00:00 2001 From: pin Date: Wed, 26 May 2010 12:09:11 +0000 Subject: [PATCH 1/1] =?utf8?q?Plus=20d'utilisation=20de=20la=20font=20par?= =?utf8?q?=20d=C3=A9faut.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@191 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/minwii/config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/minwii/config.py b/src/minwii/config.py index 9313339..8d27e28 100755 --- a/src/minwii/config.py +++ b/src/minwii/config.py @@ -21,8 +21,6 @@ def _computePath(path) : pygame.font.init() -pygamedir = os.path.split(pygame.base.__file__)[0] -default_font_file = os.path.join(pygamedir, pygame.font.get_default_font()) # playingscreen @@ -37,6 +35,7 @@ ON_COLUMN_OVERSIZING = 2 ON_COLUMN_ALPHA = 1 font_file = _computePath('fonts/Arial Unicode.ttf') NOTES_FONT = pygame.font.Font(font_file, 50) +default_font_file = _computePath('fonts/freesansbold.ttf') LYRICS_FONT = pygame.font.Font(default_font_file, 80) FONT_COLOR = (0,0,0) MIDI_VELOCITY_RANGE = (64, 127) -- 2.20.1