Merge branch 'master' of git+ssh://gitbox/piccreate

This commit is contained in:
Michael Stangl
2012-08-16 16:56:10 +02:00
+2 -1
View File
@@ -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()