         for (var i:int = 0; i < embeddedFonts.length; i++)
         {
             var font:Font = Font(embeddedFonts[i]);
-            if (font.fontName == format.font)
+            
+            // embedAsCFF is not supported for StyleableTextField
+            // reporting CFF as not embedded degrades to default device font
+            if (font.fontName == format.font &&
+                (font.fontType != FontType.EMBEDDED_CFF))
             {
                 var style:String = "regular";
                 if (format.bold && format.italic)

        // could be due to rounding error.  Let's check that it's not.
        // Examples of rounding errors happen with "South Africa" and "Game"
        // with verdana.ttf.
        if (originalText != "" && textWidth + TEXT_WIDTH_PADDING > w + 0.00000000000001)
        {
            // This should get us into the ballpark.
            var s:String = super.text = originalText;
            // TODO (rfrishbe): why is this here below...it does nothing (see SDK-26438)
            //originalText.slice(0,
            //    Math.floor((w / (textWidth + TEXT_WIDTH_PADDING)) * originalText.length));
            
            while (s.length > 1 && textWidth + TEXT_WIDTH_PADDING > w)
            {
                s = s.slice(0, -1);
                super.text = s + truncationIndicator;
            }
            
            _isTruncated = true;
            invalidateTextSizeFlag = true;
            invalidateBaselinePosition = true;
            invalidateTightTextHeight = true;
            

import flash.geom.Point;
import flash.geom.Vector3D;
import flash.text.Font;
import flash.text.FontType;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
import flash.text.TextFieldType;
