diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-10-12 07:21:51 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-10-12 07:21:51 +0000 |
commit | 0129397f8aebdbef7eb47695dbbc60e699c649d7 (patch) | |
tree | fcd885119a69c46fdad6cb5f9529fb7b82728134 /src/java/org/apache/fop/layoutmgr/inline | |
parent | ca49df904d3e20faa9445c1d4be456c69dc61e0a (diff) | |
download | xmlgraphics-fop-0129397f8aebdbef7eb47695dbbc60e699c649d7.tar.gz xmlgraphics-fop-0129397f8aebdbef7eb47695dbbc60e699c649d7.zip |
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
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/inline')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |