From 36b1fd4aa82a2c2c2cca43ba0b052a19b84cf4f0 Mon Sep 17 00:00:00 2001 From: DJ Sundog Date: Sun, 2 Aug 2020 12:39:41 -0700 Subject: [PATCH] fix font filename --- SoundslabDisplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoundslabDisplay.py b/SoundslabDisplay.py index c3ef969..b6ea1a7 100644 --- a/SoundslabDisplay.py +++ b/SoundslabDisplay.py @@ -91,7 +91,7 @@ class SoundslabDisplay: menu_overlay.rectangle([(21,21), (self.screen_size[0] - 21,self.screen_size[1] - 21)], (200, 0, 0, 127)) offset_from_top = 21 # start at the 21st row of pixels to draw inside the outer overlay - font = ImageFont.truetype(font='/usr/share/fonts/truetype/hack/HackRegular.ttf', size=14) + font = ImageFont.truetype(font='/usr/share/fonts/truetype/hack/Hack-Regular.ttf', size=14) for row in menu_data: if row.selected: menu_overlay.rectangle([(21, offset_from_top),(self.screen_size[0] - 21, offset_from_top + 40)], self.bg_color) # highlight background for selected menu item