From 94b508ae92f42e61e5f4c4b1c3a06e58694ca8ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 15 Jun 2016 10:03:47 +0200 Subject: Add fonts --- helpers/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers') diff --git a/helpers/__init__.py b/helpers/__init__.py index 7fbfb99..c42b378 100644 --- a/helpers/__init__.py +++ b/helpers/__init__.py @@ -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) -- cgit v1.2.3