             //textFormat.leftMargin = getStyleFunction("paddingLeft");
             //textFormat.rightMargin = getStyleFunction("paddingRight");
 
+            // Check for embedded fonts
+            embedFonts = isFontEmbedded(textFormat);
+            
             defaultTextFormat = textFormat;
             setTextFormat(textFormat);
             invalidateStyleFlag = false;

//   in styleChanged():
//       tf.styleChanged(styleProp);
//
// Supported styles: textAlign, fontFamily, fontWeight, "colorName", fontSize, fontStyle, textDecoration, textIndent, leading, letterSpacing, paddingLeft, paddingRight
 
/**
 *  The MobileTextField class is a text primitive for use in ActionScript


use namespace mx_internal;

[ResourceBundle("core")]

//
// To use:
//   in createChildren():
//       var tf:MobileTextField = createInFontContext(MobileTextField);
//       tf.styleProvider = this;
//       tf.editable = true|false;   // for editable text
//       tf.multiline = true|false;  // for multiline text
