From 42c82ab84aef039efb62471a74a418be65b14f94 Mon Sep 17 00:00:00 2001 From: Ace Date: Wed, 11 Dec 2019 23:07:13 +0100 Subject: [PATCH] Changed font for calendar module The new font has a better readability on the E-Paper displays --- Inky-Calendar/modules/inkycal_weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Inky-Calendar/modules/inkycal_weather.py b/Inky-Calendar/modules/inkycal_weather.py index cf24141..a2b6489 100644 --- a/Inky-Calendar/modules/inkycal_weather.py +++ b/Inky-Calendar/modules/inkycal_weather.py @@ -152,7 +152,7 @@ def to_hours(datetime_object, simple = False): """Choose font optimised for the weather section""" fontsize = 8 -font = ImageFont.truetype(NotoSans+'.ttf', fontsize) +font = ImageFont.truetype(NotoSans+'Medium.ttf', fontsize) fill_height = 0.8 while font.getsize('hg')[1] <= (row_height * fill_height):