From 0129397f8aebdbef7eb47695dbbc60e699c649d7 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 12 Oct 2005 07:21:51 +0000 Subject: [PATCH] Color trait wasn't set on the text area for the "dots" leader pattern. This could lead to hidden dots if a background was specified. As seen in leader_leader-pattern_dots.xml. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@314808 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java b/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java index c853bf76e..162397217 100644 --- a/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java @@ -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(); -- 2.39.5