diff options
author | Karen Lease <klease@apache.org> | 2001-07-04 21:10:47 +0000 |
---|---|---|
committer | Karen Lease <klease@apache.org> | 2001-07-04 21:10:47 +0000 |
commit | bf2a376d1701ef547785186a0562fd709447ed4a (patch) | |
tree | 1c578ab954dca48638e764a8b4074c4c28d58244 /src/org/apache/fop/layout | |
parent | eb6b3bae25c211cdb50cea45ccbe318e39adb06b (diff) | |
download | xmlgraphics-fop-bf2a376d1701ef547785186a0562fd709447ed4a.tar.gz xmlgraphics-fop-bf2a376d1701ef547785186a0562fd709447ed4a.zip |
Fix a bug which caused FOP to overestimate the space available for the first line of a Block
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194331 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/layout')
-rw-r--r-- | src/org/apache/fop/layout/BlockArea.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/fop/layout/BlockArea.java b/src/org/apache/fop/layout/BlockArea.java index 105d5bd95..891a7cfde 100644 --- a/src/org/apache/fop/layout/BlockArea.java +++ b/src/org/apache/fop/layout/BlockArea.java @@ -122,7 +122,7 @@ public class BlockArea extends Area { * @return the line area to be used to add inlie objects */ public LineArea getCurrentLineArea() { - if (currentHeight + this.currentLineArea.getHeight() > maxHeight) { + if (currentHeight + lineHeight > maxHeight) { return null; } this.currentLineArea.changeHyphenation(hyphProps); |