diff --git a/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java b/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java index 76457c4a6..1d58e7416 100644 --- a/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java +++ b/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java @@ -2184,8 +2184,13 @@ public class XFLConverter { String matStr = ""; matStr += ""; RECT bounds = tag.getBounds(); - matrix.translateX += bounds.Xmin + 40/*??*/; - matrix.translateY += bounds.Ymin + 40/*??*/; + if ((tag instanceof DefineTextTag) || (tag instanceof DefineText2Tag)) { + MATRIX textMatrix = tag.getTextMatrix(); + matrix = matrix.merge(textMatrix); + } else { + matrix.translateX += bounds.Xmin; + matrix.translateY += bounds.Ymin; + } matStr += convertMatrix(matrix); matStr += ""; if ((tag instanceof DefineTextTag) || (tag instanceof DefineText2Tag)) {