diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-02-10 20:17:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-10 20:17:36 +0100 |
| commit | 0825da15db5984c70a9aa9e61b0018352447d1a9 (patch) | |
| tree | 6ec3783d7e51314524f0e87b1f5c7d96793faad7 /lib/lettering/font.py | |
| parent | 0fb7d82f72adaa44009bfaa173d94eaf22b559c3 (diff) | |
Fix lettering id-error and trims (#2711)
Diffstat (limited to 'lib/lettering/font.py')
| -rw-r--r-- | lib/lettering/font.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lettering/font.py b/lib/lettering/font.py index fb17f760..2aeff3de 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -365,7 +365,7 @@ class Font(object): line_break_indices = [i for i, t in enumerate(text) if t == "\n"] for group in destination_group.iterdescendants(SVG_GROUP_TAG): # make sure we are only looking at glyph groups - if group.get("id") != "glyph": + if not group.get("id", "").startswith("glyph"): continue i += 1 |
