diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-10-22 18:38:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-22 18:38:25 +0200 |
| commit | bb6eb2cb70d099ded380a77bc0364490326bb271 (patch) | |
| tree | dd91a22ecbef7d62eab5041d5206653b8cd81d3d /lib/lettering/utils.py | |
| parent | b6681c2c4994e0c3a28af898af366767a6c71473 (diff) | |
Fix transform issues in lettering along path (#3972)
* lettering along path: transform corrections
* stop transform baking at glyph groups to keep clips in the correct position
Diffstat (limited to 'lib/lettering/utils.py')
| -rw-r--r-- | lib/lettering/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lettering/utils.py b/lib/lettering/utils.py index 0c649fa0..4c9822ea 100644 --- a/lib/lettering/utils.py +++ b/lib/lettering/utils.py @@ -38,7 +38,7 @@ def get_font_paths(): return font_paths -def get_font_by_id(font_id): +def get_font_by_id(font_id, show_font_path_warning=True): font_paths = get_font_paths() for font_path in font_paths: try: @@ -46,7 +46,7 @@ def get_font_by_id(font_id): except OSError: continue for font_dir in font_dirs: - font = _get_font_from_path(font_path, font_dir) + font = _get_font_from_path(font_path, font_dir, show_font_path_warning) if font and font_id in [font.id, font.marked_custom_font_id]: return font return None |
