         var textAlign:String = getStyle("textAlign");
         var textAlignLast:String = getStyle("textAlignLast");
         var textJustify:String = getStyle("textJustify");
+
+        // TLF adds the concept of a locale-based "auto" setting for
+		// justificationRule and justificationStyle, so we support
+		// that in SimpleText as well so that "auto" can be used
+		// in the global selector.
+		// TLF's rule is that "auto" for justificationRule means "eastAsian"
+		// for Japanese and Chinese locales and "space" for other locales,
+		// and that "auto" for justificationStyle (which only affects
+		// the EastAsianJustifier) always means "pushInKinsoku".
+		// (See TLF's LocaleUtil, which we avoid linking in here.)
+		if (justificationRule == "auto")
+		{
+			justificationRule = "space";
+			var locale:String = getStyle("locale");
+			if (locale != null)
+			{
+				var lowercaseLocale:String = locale.toLowerCase();
+				if (lowercaseLocale.indexOf("ja") == 0 ||
+					lowercaseLocale.indexOf("zh") == 0)
+				{
+					justificationRule = "eastAsian";
+				}
+			}
+		}
+		if (justificationStyle == "auto")
+			justificationStyle = "pushInKinsoku";
 
 		// Set the TextBlock's content.
 		// Note: If there is no text, we do what TLF does and compose

        // 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");
        
        var value:Number;
        var fontSize:Number = elementFormat.fontSize;
       
