         // SWF where the embedded font is.)
         // Otherwise, this will be null.
         embeddedFontContext = getEmbeddedFontContext();
-        
+
         // Fill out a FontDescription based on the CSS styles.
         
         var fontDescription:FontDescription = new FontDescription();

        var trackingLeft:Object = getStyle("trackingLeft");
        var trackingRight:Object = getStyle("trackingRight");
        
        if (trackingRight == null)
            trackingRight = getStyle("tracking");

        var value:Number;
        var fontSize:Number = elementFormat.fontSize;
       

        	
        s = getStyle("dominantBaseline");
        if (s != null)
		{
        	// TLF adds the concept of a locale-based "auto" setting for
			// dominantBaseline, so we support that in SimpleText as well
			// so that "auto" can be used in the global selector.
			// TLF's rule is that "auto" means "ideographicCenter"
			// for Japanese and Chinese locales and "roman" for other locales.
			// (See TLF's LocaleUtil, which we avoid linking in here.)
			if (s == "auto")
			{
				s = TextBaseline.ROMAN;
				var locale:String = getStyle("locale");
				if (locale != null)
				{
					var lowercaseLocale:String = locale.toLowerCase();
					if (lowercaseLocale.indexOf("ja") == 0 ||
						lowercaseLocale.indexOf("zh") == 0)
					{
						s = TextBaseline.IDEOGRAPHIC_CENTER;
					}
				}
			}
			elementFormat.dominantBaseline = s;
		}
        	
        elementFormat.fontDescription = fontDescription;
        
