summaryrefslogtreecommitdiff
path: root/lib/lettering/glyph.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lettering/glyph.py')
-rw-r--r--lib/lettering/glyph.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/lettering/glyph.py b/lib/lettering/glyph.py
index a3a9df71..fd1e1985 100644
--- a/lib/lettering/glyph.py
+++ b/lib/lettering/glyph.py
@@ -5,6 +5,7 @@
from collections import defaultdict
from copy import copy
+from unicodedata import normalize
from inkex import paths, transforms, units
@@ -36,6 +37,9 @@ class Glyph(object):
this Glyph. Nested groups are allowed.
"""
+ self.name = group.label
+ if len(self.name) > 11:
+ self.name = normalize('NFKC', self.name[11:])
self._process_baseline(group.getroottree().getroot())
self.clips = self._process_clips(group)
self.node = self._process_group(group)