From e20161a4ec9a69cb0f1bdfdd16bcd27a8601fde7 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:11:37 +0100 Subject: use text scale layer also for 100% scaled fonts (#3365) --- lib/extensions/lettering_along_path.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/extensions/lettering_along_path.py') diff --git a/lib/extensions/lettering_along_path.py b/lib/extensions/lettering_along_path.py index bf817c55..608479be 100644 --- a/lib/extensions/lettering_along_path.py +++ b/lib/extensions/lettering_along_path.py @@ -54,11 +54,10 @@ class LetteringAlongPath(InkstitchExtension): def _reset_glyph_transforms(self, text_group, glyphs): font = get_font_by_id(self.settings.font) if font is not None: - if self.settings.scale != 100: - try: - text_group = list(text_group.iterchildren(SVG_GROUP_TAG))[0] - except IndexError: - pass + try: + text_group = list(text_group.iterchildren(SVG_GROUP_TAG))[0] + except IndexError: + pass for glyph in text_group.iterchildren(): text_group.remove(glyph) text = font.render_text( -- cgit v1.2.3