Bläddra i källkod

Fix for bug 36007.

The list of elements created by the LineLM was incomplete.
Thanks to Manuel Mall for signaling the bug and providing testcases.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227342 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_90-alpha1
Luca Furini 19 år sedan
förälder
incheckning
ef4fa1ec7d
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java

+ 1
- 0
src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java Visa fil

@@ -629,6 +629,7 @@ public class LineLayoutManager extends InlineStackingLayoutManager
oldList.add(prevBox);
oldList.addFirst((KnuthGlue) knuthPar.removeLast());
oldList.addFirst((KnuthPenalty) knuthPar.removeLast());
oldList.addFirst((KnuthBox) knuthPar.removeLast());
}
// adding a letter space could involve, according to the text
// represented by oldList, replacing a glue element or adding

Laddar…
Avbryt
Spara