From 545e4bea23b471278267b085ea08fe99cba5d336 Mon Sep 17 00:00:00 2001 From: arved Date: Tue, 1 May 2001 00:57:39 +0000 Subject: [PATCH] K. Liddle: footnote height problem fix git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194226 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/fo/flow/Footnote.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/apache/fop/fo/flow/Footnote.java b/src/org/apache/fop/fo/flow/Footnote.java index 6fd9be84c..3d66d665c 100644 --- a/src/org/apache/fop/fo/flow/Footnote.java +++ b/src/org/apache/fop/fo/flow/Footnote.java @@ -104,7 +104,7 @@ public class Footnote extends FObj { } else { Page page = area.getPage(); layoutFootnote(page, (FootnoteBody)fbody, area); - } + } } } if(fbody == null) { @@ -134,7 +134,7 @@ public class Footnote extends FObj { return false; } else { if(area != null) { - area.setMaxHeight(area.getMaxHeight() - footArea.getHeight()); + area.setMaxHeight(area.getMaxHeight() - footArea.getHeight() + oldHeight); } //bac.setMaxHeight(bac.getMaxHeight() - footArea.getHeight() + oldHeight); if(bac.getFootnoteState() == 0) { -- 2.39.5