summaryrefslogtreecommitdiff
path: root/lib/lettering/font.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-12-30 20:40:24 +0100
committerGitHub <noreply@github.com>2024-12-30 20:40:24 +0100
commit2539af7e04130cf9605c064704b7448c83ebdd3a (patch)
treeb8800da183abec7002c86c2f75a944cc0dc1dee0 /lib/lettering/font.py
parentac75cfa619905a21abb69b1dd2ce8cd084622a11 (diff)
Multi shape tartan jumps (#3386)
* lettering_ description box size * reduce jump stitches for combined tartan patterns
Diffstat (limited to 'lib/lettering/font.py')
-rw-r--r--lib/lettering/font.py2
1 files changed, 2 insertions, 0 deletions
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