summaryrefslogtreecommitdiff
path: root/tmac
diff options
context:
space:
mode:
authorwl <wl>2012-02-15 13:26:45 +0000
committerwl <wl>2012-02-15 13:26:45 +0000
commit702f2c3339bf147f1efa047e45a20c1136379196 (patch)
tree0ec265382bb849ab0a1a31ca9cd6a973725877c6 /tmac
parent5e42280d82e8fd1e0e0b8a8d3b5f26de1ce2d380 (diff)
downloadgroff-702f2c3339bf147f1efa047e45a20c1136379196.tar.gz
[gropdf] Fixes and omissions.
* src/devices/gropdf/gropdf.pl (<top>, 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.
Diffstat (limited to 'tmac')
-rw-r--r--tmac/pdf.tmac4
1 files changed, 2 insertions, 2 deletions
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,