From 0006f770f9dcc06b6c22999d627f3a27731dab92 Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Mon, 21 Jul 2008 14:11:16 +0000 Subject: [PATCH] Fixed bug in drawBorderLine() implementation. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@678428 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/afp/AFPRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/render/afp/AFPRenderer.java b/src/java/org/apache/fop/render/afp/AFPRenderer.java index 6e5f7bed4..bb65ca11f 100644 --- a/src/java/org/apache/fop/render/afp/AFPRenderer.java +++ b/src/java/org/apache/fop/render/afp/AFPRenderer.java @@ -476,7 +476,7 @@ public class AFPRenderer extends AbstractPathOrientedRenderer { coords[X1] += 2 * height; } } else { - while (y1 + width < y2) { + while (coords[Y1] + width < coords[Y2]) { afpDataStream.createLine( coords[X1], coords[Y1], -- 2.39.5