From 6980e8e4196e8cba74a5d21723dbb7a9ff4aa2ad Mon Sep 17 00:00:00 2001 From: Ace Date: Wed, 11 Dec 2019 23:34:07 +0100 Subject: [PATCH] Changed font for better readability --- Inky-Calendar/modules/inkycal_rss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Inky-Calendar/modules/inkycal_rss.py b/Inky-Calendar/modules/inkycal_rss.py index d9a71bc..5c2e114 100644 --- a/Inky-Calendar/modules/inkycal_rss.py +++ b/Inky-Calendar/modules/inkycal_rss.py @@ -17,7 +17,7 @@ border_top = int(bottom_section_height * 0.05) border_left = int(bottom_section_width * 0.02) """Choose font optimised for the weather section""" -font = ImageFont.truetype(NotoSans+'Light.ttf', fontsize) +font = ImageFont.truetype(NotoSans+'.ttf', fontsize) space_between_lines = 1 line_height = font.getsize('hg')[1] + space_between_lines line_width = bottom_section_width - (border_left*2)