aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ubuntu-Regular.ttfbin0 -> 353824 bytes
-rw-r--r--helpers/__init__.py2
-rw-r--r--music_sampler.spec2
3 files changed, 2 insertions, 2 deletions
diff --git a/Ubuntu-Regular.ttf b/Ubuntu-Regular.ttf
new file mode 100644
index 0000000..45a038b
--- /dev/null
+++ b/Ubuntu-Regular.ttf
Binary files differ
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:
106 def draw(self, background_surface): 106 def draw(self, background_surface):
107 self.surface = self.square().surface() 107 self.surface = self.square().surface()
108 108
109 police = font.Font(None, 20) 109 police = font.Font("Ubuntu-Regular.ttf", 14)
110 text = police.render(self.key_sym, True, (0,0,0)) 110 text = police.render(self.key_sym, True, (0,0,0))
111 self.surface.blit(text, (5,5)) 111 self.surface.blit(text, (5,5))
112 background_surface.blit(self.surface, self.position) 112 background_surface.blit(self.surface, self.position)
diff --git a/music_sampler.spec b/music_sampler.spec
index 2f6f04c..3c85a2a 100644
--- a/music_sampler.spec
+++ b/music_sampler.spec
@@ -4,7 +4,7 @@ block_cipher = None
4 4
5a = Analysis(['music_sampler.py'], 5a = Analysis(['music_sampler.py'],
6 binaries=None, 6 binaries=None,
7 datas=[('config.yml', '.')], 7 datas=[('config.yml', '.'), ('Ubuntu-Regular.ttf', '.')],
8 hiddenimports=[ 8 hiddenimports=[
9 'six', 9 'six',
10 'packaging', 10 'packaging',