diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-12-30 20:40:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-30 20:40:24 +0100 |
| commit | 2539af7e04130cf9605c064704b7448c83ebdd3a (patch) | |
| tree | b8800da183abec7002c86c2f75a944cc0dc1dee0 /lib/lettering | |
| parent | ac75cfa619905a21abb69b1dd2ce8cd084622a11 (diff) | |
Multi shape tartan jumps (#3386)
* lettering_ description box size
* reduce jump stitches for combined tartan patterns
Diffstat (limited to 'lib/lettering')
| -rw-r--r-- | lib/lettering/font.py | 2 |
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 |
