[Dev-luatex] linkarea is wrong if startlink is used in an \rlap
Hans Hagen
j.hagen at xs4all.nl
Wed Jan 13 23:32:02 CET 2021
On 1/13/2021 6:38 PM, Ulrike Fischer wrote:
> In the following example the link area always starts at the begin of
> the \rlap (and so includes the yyyy)
>
> With pdftex the link area only surrounds the link text as expected
>
> X
> \rlap{yyyyyyy
> \ifx\pdfextension\undefined
> \pdfstartlink
> \else
> \pdfextension startlink
> \fi
> attr {/Border[0 0 1]}
> user{
> /Subtype/Link%
> /A<<%
> /Type/Action%
> /S/URI%
> /URI(blub)%
>>> %
> } Linktext
> \ifx\pdfextension\undefined
> \pdfendlink
> \else
> \pdfextension endlink
> \fi
> }
after staring at the code, doing some tracing and hacking around for a
while i think i see what happens (looks like some catch for directions)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
More information about the dev-luatex
mailing list