Re: [evince] issue with link destinations



On 01/31/2015 09:59 PM, Pablo Rodríguez wrote:
Hi there,

I have two versions of the same document with a link inside from the TOC
to the chapter title (documents attached).

The link destinations are the following:

    << /D [25 0 R /XYZ 70.867 689.409 null]>>

    << /D [27 0 R /FitH 70.867]>>

But when clicking on the link, the document with the /XYZ destination
does it fine, but the destination with /FitH not.

Although top has the same value in both cases (70.867), the /FitH goes
to the top of the second page. Or even the third page is displayed when
continous mode is enabled.

[Replying to my own mistake.]

Both evince and poppler handle the link destinations right. The PDF
documents are wrong generated.

/FitH requires the top value. /XYZ requires left and top values.

The PDF document is wrong with /FitH because it takes the left value as
top value. This explains the apparent link destination misplacement.

Sorry for the noise,


Pablo
-- 
http://www.ousia.tk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]