diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-04-30 11:26:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-30 11:26:56 +0200 |
| commit | d67a020c209be07c7909e5b10c4105586bc40b20 (patch) | |
| tree | 83d71ebc3a3462664b9b6c09e53f0c2a9ff57c8c /lib/lettering | |
| parent | fd4ab28add7c3a7eb1055bde69bce09ea909ad20 (diff) | |
lettering: fix adding commands (#2256)
Diffstat (limited to 'lib/lettering')
| -rw-r--r-- | lib/lettering/font.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/lettering/font.py b/lib/lettering/font.py index 56d881ae..f5517797 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -11,15 +11,15 @@ from random import randint import inkex from ..commands import add_commands, ensure_symbol -from ..elements import FillStitch, SatinColumn, Stroke, nodes_to_elements +from ..elements import 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 from ..marker import MARKER, ensure_marker, has_marker from ..stitches.auto_satin import auto_satin from ..svg.tags import (CONNECTION_END, CONNECTION_START, EMBROIDERABLE_TAGS, - INKSCAPE_LABEL, SVG_GROUP_TAG, SVG_PATH_TAG, - SVG_USE_TAG, XLINK_HREF, INKSTITCH_ATTRIBS) + INKSCAPE_LABEL, INKSTITCH_ATTRIBS, SVG_GROUP_TAG, + SVG_PATH_TAG, SVG_USE_TAG, XLINK_HREF) from ..utils import Point from .font_variant import FontVariant @@ -382,9 +382,6 @@ class Font(object): for path_child in group.iterdescendants(EMBROIDERABLE_TAGS): if not has_marker(path_child): path = path_child - if path.get('style') and "fill" in path.get('style'): - element = FillStitch(path) - else: element = Stroke(path) if element.shape: |
