diff options
author | Manuel Mall <manuel@apache.org> | 2007-01-14 02:37:32 +0000 |
---|---|---|
committer | Manuel Mall <manuel@apache.org> | 2007-01-14 02:37:32 +0000 |
commit | 4c5952b8b154713f945ff98040bacc9be8104689 (patch) | |
tree | ff46895b8fa852227bcaa3fec1ba6bc3d8cdf455 /src | |
parent | 9d3c1557136788e43a2cd833ff020a56b5efb409 (diff) | |
download | xmlgraphics-fop-4c5952b8b154713f945ff98040bacc9be8104689.tar.gz xmlgraphics-fop-4c5952b8b154713f945ff98040bacc9be8104689.zip |
Two Knuth boxes following each other should only be considered for an additional letter space if both are not auxiliary boxes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@496020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java b/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java index f4480c4e9..f4a83e0fe 100644 --- a/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java @@ -708,7 +708,9 @@ public class LineLayoutManager extends InlineStackingLayoutManager throw new NullPointerException( "Sequence was empty! lastElement is null"); } - bPrevWasKnuthBox = lastElement.isBox() && ((KnuthElement) lastElement).getW() != 0; + bPrevWasKnuthBox = lastElement.isBox() + && !((KnuthElement) lastElement).isAuxiliary() + && ((KnuthElement) lastElement).getW() != 0; // if last paragraph is open, add the new elements to the paragraph // else this is the last paragraph |