X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/bac4e6ad74c4a1d5ce041c566c439973273ce572..e91cf222dbfdb5d5180b58aa906f7896972cb1ff:/src/minwii/config.py?ds=inline 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)