From: arved Date: Sun, 2 Apr 2000 03:52:12 +0000 (+0000) Subject: links now invisible X-Git-Tag: pre-columns~542 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7a41e22b0107d4ec8238a96a05375d7a55dbc95f;p=xmlgraphics-fop.git links now invisible git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193322 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/pdf/PDFLink.java b/src/org/apache/fop/pdf/PDFLink.java index 20d0f0c5a..7d3345c62 100644 --- a/src/org/apache/fop/pdf/PDFLink.java +++ b/src/org/apache/fop/pdf/PDFLink.java @@ -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;