From ed31c59b12d04bff857b9418122897d12c5a6246 Mon Sep 17 00:00:00 2001 From: Ace Date: Mon, 3 Dec 2018 16:16:42 +0100 Subject: [PATCH] Fixed an issue with font Somewhere along the updates, the font-defining line went missing. This has now been fixed. --- Calendar/stable.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Calendar/stable.py b/Calendar/stable.py index e19ec2a..8742acf 100755 --- a/Calendar/stable.py +++ b/Calendar/stable.py @@ -31,6 +31,7 @@ if display_colours == "bw": epd = epd7in5.EPD() from calibration_bw import calibration +font = ImageFont.truetype(path+'Assistant-Bold.ttf', 18) c = Calendar(urlopen(url).read().decode('UTF-8')) e = Event() EPD_WIDTH = 640