]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Color trait wasn't set on the text area for the "dots" leader pattern. This could...
authorJeremias Maerki <jeremias@apache.org>
Wed, 12 Oct 2005 07:21:51 +0000 (07:21 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 12 Oct 2005 07:21:51 +0000 (07:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@314808 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java

index c853bf76e6945b25812e6de33af302326479eb4f..162397217c6e2fd2462bba290279d84adb76b1c9 100644 (file)
@@ -135,6 +135,7 @@ public class LeaderLayoutManager extends LeafNodeLayoutManager {
             t.setBaselineOffset(width);
             t.addTrait(Trait.FONT_NAME, font.getFontName());
             t.addTrait(Trait.FONT_SIZE, new Integer(font.getFontSize()));
+            t.addTrait(Trait.COLOR, fobj.getColor());
             Space spacer = null;
             if (fobj.getLeaderPatternWidth().getValue(this) > width) {
                 spacer = new Space();