diff options
author | Glen Mazza <gmazza@apache.org> | 2003-10-16 23:54:21 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2003-10-16 23:54:21 +0000 |
commit | 76b96af73c57117131df42dee78947bdad922805 (patch) | |
tree | b8f85e6561cdb71ba3241b0520000fb5ad84f307 /src/java | |
parent | eddbf605eb7f6dc64edfbfe6b1cddc520436624a (diff) | |
download | xmlgraphics-fop-76b96af73c57117131df42dee78947bdad922805.tar.gz xmlgraphics-fop-76b96af73c57117131df42dee78947bdad922805.zip |
Patch by Finn Bock applied
(bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23765:
Words not fitting the current line were not appearing on the
subsequent line when trailing spaces were included in
the fo:block.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196966 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/LineLayoutManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java b/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java index 52b7d2f7d..fab50a379 100644 --- a/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java @@ -321,7 +321,7 @@ public class LineLayoutManager extends InlineStackingLayoutManager { prevBP = getBestBP(vecPossEnd); } // Backup child LM if necessary - if (bp != prevBP && !bp.couldEndLine()) { + if (bp != prevBP && !prevBP.couldEndLine()) { reset(); } |