From 702f2c3339bf147f1efa047e45a20c1136379196 Mon Sep 17 00:00:00 2001 From: wl Date: Wed, 15 Feb 2012 13:26:45 +0000 Subject: [gropdf] Fixes and omissions. * src/devices/gropdf/gropdf.pl (, do_u): Add facility to handle track kerning (.tkf). (do_x, do_p, do_t): If pages are reordered using `pagename' and `switchtopage' keep track of outline bookmarks. (PutHotSpot): Allow user to control size of hotspot bounding box on clickable links by setting PDFHREF.LEADING * tmac/pdf.tmac (PDFHREF.LEADING): Adjust value. (pdf*href): Pass value of PDFHREF.LEADING to gropdf. --- tmac/pdf.tmac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmac') diff --git a/tmac/pdf.tmac b/tmac/pdf.tmac index 914e580c..844e3f74 100644 --- a/tmac/pdf.tmac +++ b/tmac/pdf.tmac @@ -297,7 +297,7 @@ .\" note that it is defined as a string, so it will adapt to changes .\" in the vertical spacing. Changing it is NOT RECOMMENDED. .\" -.nr PDFHREF.LEADING -1.0p +.nr PDFHREF.LEADING 2.0p .ds PDFHREF.HEIGHT 1.0v .\" .\" PDF readers generally place a rectangular border around link @@ -649,7 +649,7 @@ . \" . if dPDFHREF.COLOUR .defcolor pdf:href.colour rgb \\*[PDFHREF.COLOUR] . nr pdf:bm.width \\w'\\*[PDFHREF.DESC]' -. nop \&\m[\\*[PDFHREF.TEXT.COLOUR]]\X'pdf: markstart \\n[rst] \\n[rsb] \\*[pdf:href.link]'\\*[PDFHREF.DESC]\X'pdf: markend'\m[]\c +. nop \&\m[\\*[PDFHREF.TEXT.COLOUR]]\X'pdf: markstart \\n[rst] \\n[rsb] \\n[PDFHREF.LEADING] \\*[pdf:href.link]'\\*[PDFHREF.DESC]\X'pdf: markend'\m[]\c . \" . \" Clean up the temporary registers and strings, used to . \" compute the "hot-spot" bounds, and format the reference, -- cgit v1.2.1