]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
links now invisible
authorarved <arved@unknown>
Sun, 2 Apr 2000 03:52:12 +0000 (03:52 +0000)
committerarved <arved@unknown>
Sun, 2 Apr 2000 03:52:12 +0000 (03:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193322 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/pdf/PDFLink.java

index 20d0f0c5aab0ac7c751405d43e4f75cb03888b50..7d3345c6299caf5d964dc4878215e0d45dbb0d33 100644 (file)
@@ -80,7 +80,7 @@ public class PDFLink extends PDFObject {
        this.uly = r.y;
        this.brx = r.x + r.width;
        this.bry = r.y - r.height;
-       this.color = "0 0 0.7"; // just for now
+       this.color = "0 0 0";   // just for now
                
     }
 
@@ -99,8 +99,8 @@ public class PDFLink extends PDFObject {
            "/Subtype /Link\n" +
            "/Rect [ " + (ulx/1000f) + " " + (uly/1000f) + " " +
            (brx/1000f) + " " + (bry/1000f) + " ]\n"
-           + "/C [ " + color + " ]\n" + 
-           "/Border [ 0 0 1 ]\n" +
+           + "/C [ " + this.color + " ]\n" + 
+           "/Border [ 0 0 0 ]\n" +
            "/A " + this.action.referencePDF() + "\n" +
            "/H /I\n>>\nendobj\n";
        return p;