projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplification.
[minwii.git]
/
src
/
minwii
/
config.py
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()
pygame.font.init()
-pygamedir = os.path.split(pygame.base.__file__)[0]
-default_font_file = os.path.join(pygamedir, pygame.font.get_default_font())
# playingscreen
# 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)
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)
LYRICS_FONT = pygame.font.Font(default_font_file, 80)
FONT_COLOR = (0,0,0)
MIDI_VELOCITY_RANGE = (64, 127)