font export fix

This commit is contained in:
honfika@gmail.com
2015-03-27 13:55:18 +01:00
parent 78b53e3b4c
commit 8a4736fce8

View File

@@ -137,7 +137,7 @@ public class FontExporter {
ttfFile = File.createTempFile("ffdec_export", ".ttf");
}
String fontName = t.getFontNameIntag();
String fontName = Helper.makeFileName(t.getFontNameIntag());
if (fontName.length() == 0) {
fontName = "noname";
}