- [#1402] SVG export: certain font characters not exported properly fixed 2

This commit is contained in:
honfika@gmail.com
2017-06-22 14:44:51 +02:00
parent 25b54993d4
commit cdf72b6798

View File

@@ -752,12 +752,11 @@ public abstract class TextTag extends DrawableTag {
exporter.createDefGroup(null, charId);
SVGShapeExporter shapeExporter = new SVGShapeExporter(swf, shape, 0, exporter, null, colorTransform, zoom);
shapeExporter.export();
if (exporter.endGroup()) {
chs.put(entry.glyphIndex, charId);
}
else {
chs.put(entry.glyphIndex, "");
if (!exporter.endGroup()) {
charId = "";
}
chs.put(entry.glyphIndex, charId);
}
if (!"".equals(charId)) {