      * Holds the last recorded value of the module factory used to create the font.
      */
     private var embeddedFontContext:IFlexModuleFactory = null;
+
+    /**
+     *  @private
+     *  If the embeddedFontContext changed
+     */
+    private var embeddedFontContextChanged:Boolean;
+
+    /**
+     *  @private
+     *  True if we need to compute the fontLookup
+     */
+    private var autoFontLookup:Boolean = false;
 
     /**
      *  @private

            else
                embeddedFontContext = null;
        }
    }

    /**

                {
                    hostTextLayoutFormat.fontLookup = FontLookup.EMBEDDED_CFF;
                }
                else
                {
                    hostTextLayoutFormat.fontLookup = FontLookup.DEVICE;
                }
            }
        }
        else
