From: pin Date: Fri, 28 May 2010 08:54:56 +0000 (+0000) Subject: Plus besoin de la police, celle de pygame fonctionne. X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/commitdiff_plain/41b13d2e96d454c25a248b2a66a1efd91f4fb20c?hp=5e9b5322bc4788295c2ff6584f8190e1cff4c2e7 Plus besoin de la police, celle de pygame fonctionne. git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@199 fe552daf-6dbe-4428-90eb-1537e0879342 --- diff --git a/src/minwii/config.py b/src/minwii/config.py index 8d27e28..b9f6e04 100755 --- a/src/minwii/config.py +++ b/src/minwii/config.py @@ -10,8 +10,6 @@ import pygame import os.path _here = os.path.abspath(__file__).split(os.path.sep)[:-1] -if _here[-2].endswith('.exe') or _here[-2].endswith('*.zip') : - _here.pop(-2) def _computePath(path) : path = path.split('/') @@ -35,8 +33,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) +LYRICS_FONT = pygame.font.Font(None, 80) FONT_COLOR = (0,0,0) MIDI_VELOCITY_RANGE = (64, 127) MIDI_PAN_RANGE = (32, 96) diff --git a/src/minwii/fonts/freesansbold.ttf b/src/minwii/fonts/freesansbold.ttf deleted file mode 100755 index 649ebdd..0000000 Binary files a/src/minwii/fonts/freesansbold.ttf and /dev/null differ