Bug: Link annotations display a border if they shouldn't

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

uko
User
Posts: 80
Joined: Fri Dec 14, 2007 2:40 pm

Bug: Link annotations display a border if they shouldn't

Post by uko »

Hi,

the attached PDF doc has a lot of link annotations in it, that are displayed with a border around it (Viewer and simple dll). When viewed with Adobe reader no borders are displayed.
As far as I understand the pdf specification, borders with width=0 should not be displayed (and all annotations are defined with borders of width 0 in this document).
Can you fix this, please? Or do I have a misunderstanding of the specification?

best regards,
Ulrich
You do not have the required permissions to view the files attached to this post.
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: Bug: Link annotations display a border if they shouldn't

Post by Ivan - Tracker Software »

If you will read PDF spec, you will see, that the border can be specified or via /Border record, or via /BS.
And there is this note:
If an annotation dictionary includes the BS entry, then the Border entry is ignored.
Within your PDF file there are both /BS (which defines 1 point wide solid border because all entries are not specified, so, have their default values), and /Border (which defines 0 point wide solid border), and we are ignoring this entry. Why Adobe doesn't ignore it I cannot say.

HTH
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
uko
User
Posts: 80
Joined: Fri Dec 14, 2007 2:40 pm

Re: Bug: Link annotations display a border if they shouldn't

Post by uko »

Hello Ivan,

Thanks for your help. I missed the part of the text where it defines width 1 as default on the BS specification.


best regards,
Ulrich
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Bug: Link annotations display a border if they shouldn't

Post by John - Tracker Supp »

No problem Ulrich - pleased all is well ;)
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com