From: Glen Mazza Date: Tue, 30 Dec 2003 23:11:00 +0000 (+0000) Subject: Bug #25813 (Patch by Finn Bock): Calculation change in setBlockTextInfo(). X-Git-Tag: Root_Temp_KnuthStylePageBreaking~953 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0dfc112fa42cd73ae869e43893a3378391cd9e08;p=xmlgraphics-fop.git Bug #25813 (Patch by Finn Bock): Calculation change in setBlockTextInfo(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197077 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java b/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java index 83b7add62..2579c0a27 100644 --- a/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java @@ -170,7 +170,7 @@ public class BlockLayoutManager extends BlockStackingLayoutManager { public void setBlockTextInfo(TextInfo ti) { lead = ti.fs.getAscender(); - follow = ti.fs.getDescender(); + follow = -ti.fs.getDescender(); lineHeight = ti.lineHeight; }