diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/TextTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/TextTag.java index 28a86de05..2fec40855 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/TextTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/TextTag.java @@ -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)) {