From 385ae3da112d7f33fc07516baf7390da57b8f657 Mon Sep 17 00:00:00 2001 From: Maximilian Giller Date: Sun, 3 Mar 2019 13:52:36 +0100 Subject: [PATCH] Made masking optional to keep the text from thining out too much --- Calendar/TextDesign.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Calendar/TextDesign.py b/Calendar/TextDesign.py index 6e501af..903ab39 100644 --- a/Calendar/TextDesign.py +++ b/Calendar/TextDesign.py @@ -7,8 +7,8 @@ paddingcorrection = -5 class TextDesign (DesignEntity): """Object that manages all information relevant to text and prints it to an image""" - def __init__ (self, size, font = None, fontsize = 12, text = "", horizontalalignment = "left", verticalalignment = "top"): - super(TextDesign, self).__init__(size, mask = True) + def __init__ (self, size, font = None, fontsize = 12, text = "", horizontalalignment = "left", verticalalignment = "top", mask=True): + super(TextDesign, self).__init__(size, mask = mask) if font is None: font = defaultfont self.font_family = font