diff options
| author | George Steel <george.steel@gmail.com> | 2022-12-10 19:27:20 -0500 |
|---|---|---|
| committer | George Steel <george.steel@gmail.com> | 2022-12-10 19:29:01 -0500 |
| commit | 2cec72cbbd73b2dece5d15715e2ab8bddd417c69 (patch) | |
| tree | aff4569cb68f626e05489a86511fbd4be8325e17 /lib/lettering/font.py | |
| parent | 495a22ea55234e032ac526450fd7969d9aa799c8 (diff) | |
| parent | e52f889bb0cb208685b3f3ef8271f63ecd318af1 (diff) | |
Merge branch 'george-steel/expose-trim-after'
Diffstat (limited to 'lib/lettering/font.py')
| -rw-r--r-- | lib/lettering/font.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/lettering/font.py b/lib/lettering/font.py index 5a617da1..6960105f 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -11,7 +11,7 @@ from random import randint import inkex from ..commands import add_commands, ensure_symbol -from ..elements import FillStitch, Stroke, nodes_to_elements +from ..elements import FillStitch, SatinColumn, Stroke, nodes_to_elements from ..exceptions import InkstitchException from ..extensions.lettering_custom_font_dir import get_custom_font_dir from ..i18n import _, get_languages @@ -417,6 +417,7 @@ class Font(object): """ elements = nodes_to_elements(group.iterdescendants(SVG_PATH_TAG)) + elements = [element for element in elements if isinstance(element, SatinColumn) or isinstance(element, Stroke)] if elements: auto_satin(elements, preserve_order=True, trim=False) |
