]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Must exit text object before painting a leader.
authorJeremias Maerki <jeremias@apache.org>
Tue, 26 Aug 2008 10:32:13 +0000 (10:32 +0000)
committerJeremias Maerki <jeremias@apache.org>
Tue, 26 Aug 2008 10:32:13 +0000 (10:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@689021 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/pdf/PDFRenderer.java

index 9567c530639af67d3568073dfce4e4ba4ed3b9aa..ec41a313d73bd77e410efa86f88c253cb728568d 100644 (file)
@@ -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);