GNOME Bugzilla – Bug 503087
Internal and external links diplay and print problem
Last modified: 2008-05-08 19:14:56 UTC
This report has been filled here: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/156643 "Evince display all the links in a document inside a pdf document inside a ugly red box. It's impossible to remove these box. These box also appear when you print the document" Example: http://eric.beliweb.net/web/evince.png "Note that these box are not displaying in acroread." PDF: http://launchpadlibrarian.net/10163920/memoire.pdf View in Acroread: http://launchpadlibrarian.net/10169376/acroread.png
The problem is that this document is wrong. It contains annotations like: 293 0 obj << /Type /Annot /Border[000]/H/I/C[1 0 0] /Rect [113.877 570.67 219.679 584.617] /Subtype /Link /A << /S /GoTo /D (chapter*.3) >> >> endobj The Border array is wrong. According to the PDF spec: "the array consists of three numbers defining the horizontal corner radius, vertical corner radius, and border width, all in default user space units. If the corner radii are 0, the border has square (not rounded) corners; if the border width is 0, no border is drawn" In this case the array has only one item, since there is no space between the '0'. The spec also says that default value is [ 0 0 1 ]. I would like to know why acroread doesn't draw the borders. In case of printing, it was already fixed in svn.
This issue persists in Evince 2.22.1.1. Excerpt from affected pdf: obj <<./Type /Annot./Border[0 0 1]/H/I/C[1 0 0]./Rect [425.531 286.992 432.9 78 298.682]./Subtype /Link./A << /S /GoTo /D (table.1) >>.>> end obj The border is shown in Evince (as it should, since the border width is 1), but appears too when the document is printed.. As you can see the Border array syntax is in accordance with the PDF spec as cited above.