[Poppler-bugs] [Bug 28588] New: Incorrect placement of hyperlink anchors in certain PDFs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 17 11:52:53 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28588

           Summary: Incorrect placement of hyperlink anchors in certain
                    PDFs
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: pvillavi at gmail.com


this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/poppler/+bug/544743

"Poppler (and therefore Evince) place the anchors of hyperlinks incorrectly
with some PDFs. I've attached a sample PDF which displays the problem. The link
is the work "link" in the second sentence, but Evince misplaces the anchor to
around the word "[This]". The same problem occurs when attempting to get
hyperlink locations with the Poppler library directly. Xpdf and Adobe Acrobat
Reader both place the hyperlink correctly. 

I've only seen this problem in some PDFs created by LaTeX, so I've also
attached the LaTeX file I used to make the test case. The necessary components
are:
1) Setting the PDF crop box, with the bottom left corner not being (0, 0).
2) Using landscape mode.
3) Compiling through DVI (that is, latex > dvips > ps2pdf or latex > dvipdf).
This specificity might suggest a bug in LaTeX, but the fact that both Xpdf and
Acrobat place the anchor correctly suggests to me that LaTeX is doing something
unusual, but legal.

The PDF file created directly with pdflatex, also attached, has the anchor
correctly placed by Poppler. Perhaps some PDF wizard can compare the two to
find out what's different. (I do note that the two files are cropped
differently by Evince. I don't know if that's a clue or not.)"

pdf:

http://launchpadlibrarian.net/41674730/testcase.pdf

latex:

http://launchpadlibrarian.net/41674769/testcase.tex

test case compiled with pdflatex:

http://launchpadlibrarian.net/41674835/testcase.pdflatex.pdf

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list