diff --git a/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java b/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java
index a8849d941..661d94053 100644
--- a/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java
+++ b/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java
@@ -2322,7 +2322,7 @@ public class XFLConverter {
ret += "" + xmlString(rec.getText(tags, font)) + "";
ret += "";
- ret += " -1) {
- ret += " size=\"" + size + "\"";
- ret += " bitmapSize=\"" + (size * 20) + "\"";
+ ret += " size=\"" + twipToPixel(size) + "\"";
+ ret += " bitmapSize=\"" + size + "\"";
}
if (fontFace != null) {
ret += " face=\"" + fontFace + "\"";
}
+ if (textColor != null) {
+ ret += " fillColor=\"" + textColor.toHexRGB() + "\" alpha=\"" + textColor.getAlphaFloat() + "\"";
+ }
ret += "/>";
ret += "";
ret += "";