From d67a020c209be07c7909e5b10c4105586bc40b20 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sun, 30 Apr 2023 11:26:56 +0200 Subject: lettering: fix adding commands (#2256) --- lib/lettering/font.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'lib') 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: -- cgit v1.2.3