From 2539af7e04130cf9605c064704b7448c83ebdd3a Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Mon, 30 Dec 2024 20:40:24 +0100 Subject: Multi shape tartan jumps (#3386) * lettering_ description box size * reduce jump stitches for combined tartan patterns --- lib/lettering/font.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/lettering') diff --git a/lib/lettering/font.py b/lib/lettering/font.py index 6857c830..a84329c7 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -557,6 +557,8 @@ class Font(object): for element in element_list: path += element.get("d", "") grouped_elements[0][0].set("d", path) + if grouped_elements[0][0].get("inkstitch:fill_method", False) in ['tartan_fill', 'linear_gradient_fill']: + grouped_elements[0][0].set('inkstitch:stop_at_ending_point', True) color_group.append(grouped_elements[0][0]) group.append(color_group) continue -- cgit v1.2.3