diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-12-26 16:11:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-26 16:11:37 +0100 |
| commit | e20161a4ec9a69cb0f1bdfdd16bcd27a8601fde7 (patch) | |
| tree | 08dd9d499b42d6f9b937431ed6b77887ea03c9bc /lib/extensions | |
| parent | 5ce92a46217f907ccc8b6594022958edefe1272e (diff) | |
use text scale layer also for 100% scaled fonts (#3365)
Diffstat (limited to 'lib/extensions')
| -rw-r--r-- | lib/extensions/lettering_along_path.py | 9 |
1 files changed, 4 insertions, 5 deletions
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( |
