--- src/org/apache/fop/layout/BodyAreaContainer.java.orig 2005-07-04 14:00:30.000000000 -0700 +++ src/org/apache/fop/layout/BodyAreaContainer.java 2005-07-01 14:57:46.000000000 -0700 @@ -301,7 +301,18 @@ // laid-out content in the previous (first) attempt int newHeight = spanArea.getTotalContentHeight() / spanArea.getColumnCount(); - newHeight += 2 * 15600; // ??? + + // The following is a hack for the 3-column drafts table + // in SFCU statements. + int fontSize = 15600; + AreaContainer ac = (AreaContainer)(spanArea.getChildren().get(0)); + if ( ac != null ) { + ac = (AreaContainer) (ac.getChildren().get(0)); + if ( ac != null && ac.fontState != null ) { + fontSize = ac.fontState.getFontSize(); + } + } + newHeight += 2 * fontSize; this.mainReferenceArea.removeChild(spanArea); resetHeights();