Specify the /Border of /ANN pdfmarks correctly.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 7 Dec 2006 14:00:12 +0000 (14:00 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 7 Dec 2006 14:00:12 +0000 (14:00 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/halibut@6968 cda61777-01e9-0310-a592-d414129be87e

bk_ps.c

diff --git a/bk_ps.c b/bk_ps.c
index 261a22c..41b70d2 100644 (file)
--- a/bk_ps.c
+++ b/bk_ps.c
@@ -108,10 +108,10 @@ void ps_backend(paragraph *sourceform, keywordlist *keywords,
            "/pdfmark where { pop\n"
            "  /p { [ /Dest 3 -1 roll /View [ /XYZ null null null ]\n"
            "       /DEST pdfmark } bind def\n"
-           "  /x { [ /Dest 3 -1 roll /Rect 5 -1 roll /Border [0 0 0 0]\n"
+           "  /x { [ /Dest 3 -1 roll /Rect 5 -1 roll /Border [0 0 0]\n"
            "       /Subtype /Link /ANN pdfmark } bind def\n"
            "  /u { 2 dict dup /Subtype /URI put dup /URI 4 -1 roll put\n"
-           "       [ /Action 3 -1 roll /Rect 5 -1 roll /Border [0 0 0 0]\n"
+           "       [ /Action 3 -1 roll /Rect 5 -1 roll /Border [0 0 0]\n"
            "       /Subtype /Link /ANN pdfmark } bind def\n"
            "} {\n"
            "  /p { pop } bind def\n"