From bd43e007753c1e5baf1f8b191944378beb68c6ec Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Mon, 28 Feb 2022 16:24:51 +0100 Subject: Cutwork segmentation (#1582) * add cutwork segmentation extension * simulator: option to not render jump stitches --- lib/lettering/font.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/lettering/font.py') diff --git a/lib/lettering/font.py b/lib/lettering/font.py index f0aac11e..104e4b29 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -353,4 +353,6 @@ class Font(object): """ elements = nodes_to_elements(group.iterdescendants(SVG_PATH_TAG)) - auto_satin(elements, preserve_order=True, trim=trim) + + if elements: + auto_satin(elements, preserve_order=True, trim=trim) -- cgit v1.2.3