projects
/
minwii.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa8bf73
)
Plus d'utilisation de la font par défaut.
author
pin
<pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Wed, 26 May 2010 12:09:11 +0000
(12:09 +0000)
committer
pin
<pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Wed, 26 May 2010 12:09:11 +0000
(12:09 +0000)
git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@191
fe552daf
-6dbe-4428-90eb-
1537e0879342
src/minwii/config.py
patch
|
blob
|
history
diff --git
a/src/minwii/config.py
b/src/minwii/config.py
index
9313339
..
8d27e28
100755
(executable)
--- 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)