         // If dimension is NaN, composer will measure text in that 
         // direction.  This can cause a damage event if changed. 
         _textContainerManager.compositionWidth = composeWidth;
-        _textContainerManager.compositionHeight = NaN;
+        if (!isNaN(_textContainerManager.compositionHeight))
+            _textContainerManager.compositionHeight = NaN;
 
         // Compose only.  The display should not be updated.
         _textContainerManager.compose();

     */
    private function calculateFontMetrics():void
    {
        // If the CSS styles for this component specify an embedded font,
        // embeddedFontContext will be set to the module factory that
        // should create TextLines (since they must be created in the
        // SWF where the embedded font is.)
        // Otherwise, this will be null.
        embeddedFontContext = getEmbeddedFontContext();
        
        var fontDescription:FontDescription = new FontDescription();
        
        var s:String;

            // SWF where the embedded font is.)
            // Otherwise, this will be null.
            embeddedFontContext = getEmbeddedFontContext();

            _textContainerManager.textLineCreator = 
                ITextLineCreator(embeddedFontContext);                       

            if (debug)
                trace("hostFormat=");
            _textContainerManager.hostFormat =
