From 1c21fd85f219572c9d804d84bd1c3251206f4cd3 Mon Sep 17 00:00:00 2001 From: Spengreb Date: Fri, 15 Jan 2021 15:06:47 +0100 Subject: [PATCH] Add stroke to numbers and text to make some colors stand out more against the black background --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index b6591f2..7c9a4ea 100755 --- a/main.py +++ b/main.py @@ -33,6 +33,8 @@ def draw_symbol(img, symbol, color, x, y): with Drawing() as draw: draw.font = 'wandtests/assets/League_Gothic.otf' draw.font_size = 100 + draw.stroke_color = Color('black') + draw.stroke_width = 3 draw.text_alignment = 'center' draw.fill_color=Color(color) draw.text(x, y, str(symbol))