]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - helpers/__init__.py
Add fonts
[perso/Immae/Projets/Python/MusicSampler.git] / helpers / __init__.py
index 7fbfb99b59bb665db42fa533df9e807641f81295..c42b378817aa26e8898b2920e0d2989048494e1e 100644 (file)
@@ -106,7 +106,7 @@ class Key:
     def draw(self, background_surface):
         self.surface = self.square().surface()
 
-        police = font.Font(None, 20)
+        police = font.Font("Ubuntu-Regular.ttf", 14)
         text = police.render(self.key_sym, True, (0,0,0))
         self.surface.blit(text, (5,5))
         background_surface.blit(self.surface, self.position)