diff --git a/libs/piccreate.py b/libs/piccreate.py index 445ffdc..bce9e06 100644 --- a/libs/piccreate.py +++ b/libs/piccreate.py @@ -132,7 +132,8 @@ class Font: # hol die Fontattribute wie Ausdehnung usw. content = dict(fontconfig.items(letter)) # lade das svg template dazu ein - glyph_path = os.path.join( font_path, letter+'.svg') + glyph_path = os.path.join( font_path, smart_unicode(content['fontname'])) + print content['fontname'] f = open(glyph_path, 'r') svgstr = f.read() f.close()