         s = getStyle("fontWeight");
         if (s != null)
         	fontDescription.fontWeight = s;
-        
-        if (checkForEmbed)
-        {
-            var embeddedFont:EmbeddedFont = getEmbeddedFont(
-                fontDescription.fontName, 
-                fontDescription.fontWeight == "bold", 
-                fontDescription.fontPosture == "italic");
-            
-            embeddedFontContext = 
-                embeddedFontRegistry.getAssociatedModuleFactory(
-                    embeddedFont, fontContext);
-
-            // if we found the font, then it is embedded. 
-            // Some fonts are not listed in info(), so are not in the above registry.
-            // Call isFontFaceEmbedded() which get the list of embedded fonts from the player.
-            if (embeddedFontContext != null) 
-            {
-                fontDescription.fontLookup = FontLookup.EMBEDDED_CFF;
-            }
-            else
-            {
-                var sm:ISystemManager = creatingSystemManager();
-                var textFormat:TextFormat = new TextFormat();
-                textFormat.font = fontDescription.fontName;
-                textFormat.bold = fontDescription.fontWeight == "bold";
-                textFormat.italic = fontDescription.fontPosture == "italic";
-                if (sm != null && sm.isFontFaceEmbedded(textFormat))
-                {
-                    fontDescription.fontLookup = FontLookup.EMBEDDED_CFF;
-                }
-            }
-        }
-        else
-        {
-            if (fontDescription.fontLookup == FontLookup.EMBEDDED_CFF)
-                embeddedFontContext = fontContext;
-            else
-                embeddedFontContext = null;
-        }
-
+        	
         s = getStyle("renderingMode");
         if (s != null)
         	fontDescription.renderingMode = s;
+        
+        // Fill our an ElementFormat based on the CSS styles.
         
         var elementFormat:ElementFormat = new ElementFormat();
         

	}
	
    /**
     *  @private
     *  width and height are the ones used to do the compose, not the measured
     *  results resulting from the compose.

        	fontDescription.cffHinting = s;
        
        s = getStyle("fontLookup");
        if (s != null)
        {
        	// FTE understands only "device" and "embeddedCFF"
        	// for fontLookup. But Flex allows this style to be
        	// set to "auto", in which case we automatically
        	// determine it based on whether the CSS styles
        	// specify an embedded font.
        	if (s == "auto")
        	{
        		s = embeddedFontContext ?
        			FontLookup.EMBEDDED_CFF :
                	FontLookup.DEVICE;
        	}
	       	fontDescription.fontLookup = s;
        }
        
        s = getStyle("fontFamily");
        if (s != null)
