diff options
author | keithmarshall <keithmarshall> | 2008-12-28 18:15:05 +0000 |
---|---|---|
committer | keithmarshall <keithmarshall> | 2008-12-28 18:15:05 +0000 |
commit | ddd7feac246d92aa4d851a96866bce8152555ffd (patch) | |
tree | 22198b417f002504add83f99d84f3dedcc42bdf8 /contrib | |
parent | 1635e26054ad93d6507ef59a419a1aa25111cb17 (diff) | |
download | groff-ddd7feac246d92aa4d851a96866bce8152555ffd.tar.gz |
Avoid phantom line wrapping in pdfhref hot-spots.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/pdfmark/ChangeLog | 10 | ||||
-rw-r--r-- | contrib/pdfmark/pdfmark.tmac | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/contrib/pdfmark/ChangeLog b/contrib/pdfmark/ChangeLog index 3d87505c..f241df97 100644 --- a/contrib/pdfmark/ChangeLog +++ b/contrib/pdfmark/ChangeLog @@ -1,3 +1,13 @@ +2008-12-28 Keith Marshall <keith.d.marshall@ntlworld.com> + + Avoid phantom line wrapping in pdfhref hot-spots. + + * pdfmark.tmac (pdf*href.mark.end): Emit hot-spot end markers within + scope of `\Z', to prevent possible output line length overflow which + may occur only in the layout computation passes, but not in the final + output pass. Problem observed and identified by Nick Stoughton; it + causes some hot-spots to be displaced from their proper locations. + 2007-04-11 Keith Marshall <keith.d.marshall@ntlworld.com> Avoid stray newlines in folded pdfmark literal content. diff --git a/contrib/pdfmark/pdfmark.tmac b/contrib/pdfmark/pdfmark.tmac index 174df785..2f5c9996 100644 --- a/contrib/pdfmark/pdfmark.tmac +++ b/contrib/pdfmark/pdfmark.tmac @@ -419,7 +419,7 @@ inspiration has come from discussion on the groff mailing list . \" at the end of each such unclosed literal record. . \" . as pdf:composed.line " \\\\\\\\\" -. \} +. \} . pdf*pdfmark.post . rm pdf:composed.line . \} @@ -1855,7 +1855,7 @@ ps:exec \\*[pdf:composed.line] .de pdf*href.mark.end .\" ---------------------------------------------------------------------- .\" ---------------------------------------------------------------------- -\O1|\h'-\w"|"u'\O2\c +\O1\Z'|'\O2\c .. .\" Macro "pdf*href-I" is used for one time initialisation of special .\" "pdfhref" features; (currently, only the above page trap hook is |