diff --git a/libs/piccreate.py b/libs/piccreate.py index 1d9e395..005b97c 100644 --- a/libs/piccreate.py +++ b/libs/piccreate.py @@ -131,7 +131,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()