aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-08-26 10:32:13 +0000
committerJeremias Maerki <jeremias@apache.org>2008-08-26 10:32:13 +0000
commitd1851a3528f14e724d6b72bf52c23ae1dcf6c542 (patch)
tree753166fb2ac1536364fb516d0956506204fa1e4a /src/java/org/apache/fop
parent26500495c3ccf9f1db43c4179b14800ff267b3d5 (diff)
downloadxmlgraphics-fop-d1851a3528f14e724d6b72bf52c23ae1dcf6c542.tar.gz
xmlgraphics-fop-d1851a3528f14e724d6b72bf52c23ae1dcf6c542.zip
Must exit text object before painting a leader.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@689021 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/render/pdf/PDFRenderer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFRenderer.java b/src/java/org/apache/fop/render/pdf/PDFRenderer.java
index 9567c5306..ec41a313d 100644
--- a/src/java/org/apache/fop/render/pdf/PDFRenderer.java
+++ b/src/java/org/apache/fop/render/pdf/PDFRenderer.java
@@ -1226,6 +1226,7 @@ public class PDFRenderer extends AbstractPathOrientedRenderer implements PDFConf
+ area.getIPD();
Color col = (Color)area.getTrait(Trait.COLOR);
+ endTextObject();
borderPainter.drawLine(new Point(startx, starty), new Point(endx, starty),
ruleThickness, col, RuleStyle.valueOf(style));
super.renderLeader(area);