]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed bug in drawBorderLine() implementation.
authorAdrian Cumiskey <acumiskey@apache.org>
Mon, 21 Jul 2008 14:11:16 +0000 (14:11 +0000)
committerAdrian Cumiskey <acumiskey@apache.org>
Mon, 21 Jul 2008 14:11:16 +0000 (14:11 +0000)
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

index 6e5f7bed4221463ff5ce7842fb906d5b171c2d03..bb65ca11fe7524a573da9b8180be99e23033fefd 100644 (file)
@@ -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],