         setTracking(elementFormat);
         elementFormat.typographicCase = getStyle("typographicCase");
         
-        textBlockComposer.removeTextLines(
-            DisplayObjectContainer(displayObject));
-        
-        var bounds:Rectangle = textBlockComposer.requestedBounds;
+        textBlockComposer.removeTextLines(container);
+        
+        var bounds:Rectangle = textBlockComposer.bounds;
         bounds.x = 0;
         bounds.y = 0;
         bounds.width = width;
         bounds.height = height;
 
+        textBlockComposer.lineBreak = getStyle("lineBreak");
         textBlockComposer.lineHeight = getStyle("lineHeight");
         textBlockComposer.paddingBottom = getStyle("paddingBottom");
         textBlockComposer.paddingLeft = getStyle("paddingLeft");

        elementFormat.alignmentBaseline = getStyle("alignmentBaseline");
        elementFormat.alpha = getStyle("textAlpha");
        elementFormat.baselineShift = getStyle("baselineShift");
        elementFormat.color = getStyle("color");
        elementFormat.digitCase = getStyle("digitCase");
        elementFormat.digitWidth = getStyle("digitWidth");


        textBlockComposer.composeText(text, elementFormat);
                
        textBlockComposer.addTextLines(container);

        return textBlockComposer.isOverset;
    }

    /**
