From: Adrian Cumiskey Date: Mon, 21 Jul 2008 14:11:16 +0000 (+0000) Subject: Fixed bug in drawBorderLine() implementation. X-Git-Tag: fop-1_0~376^2~119 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0006f770f9dcc06b6c22999d627f3a27731dab92;p=xmlgraphics-fop.git 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 --- 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],