Bladeren bron

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 jaren geleden
bovenliggende
commit
ef4fa1ec7d
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1
    0
      src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java

+ 1
- 0
src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java Bestand weergeven

@@ -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

Laden…
Annuleren
Opslaan