From 99b47cdc08a040f475e57fec43b3f21e4dd7e3ef Mon Sep 17 00:00:00 2001 From: DJ Sundog Date: Sun, 2 Aug 2020 14:02:02 -0700 Subject: [PATCH] adjust menu font --- SoundslabDisplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoundslabDisplay.py b/SoundslabDisplay.py index 26f3df3..bad0cd1 100644 --- a/SoundslabDisplay.py +++ b/SoundslabDisplay.py @@ -93,7 +93,7 @@ class SoundslabDisplay: menu_overlay.rectangle([(21,21), (self.screen_size[0] - 21,self.screen_size[1] - 21)], bg_color) 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/Hack-Regular.ttf', size=14) + font = ImageFont.truetype(font='/usr/share/fonts/truetype/hack/Hack-Bold.ttf', size=20) for row in menu_data: if row["selected"]: menu_overlay.rectangle([(21, offset_from_top),(self.screen_size[0] - 21, offset_from_top + 40)], fg_color) # highlight background for selected menu item