You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Hesham (JIRA)" <ji...@apache.org> on 2011/01/19 06:34:44 UTC

[jira] Updated: (PDFBOX-943) Creating a link without borders appears with borders in Mac's Preview

     [ https://issues.apache.org/jira/browse/PDFBOX-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hesham updated PDFBOX-943:
--------------------------

    Attachment: links_testing.pdf

> Creating a link without borders appears with borders in Mac's Preview
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-943
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-943
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Writing
>    Affects Versions: 1.4.0
>         Environment: Mac book
>            Reporter: Hesham
>         Attachments: links_testing.pdf
>
>
> I am trying to create a link with no borders. The link appears and works perfect in Adobe reader, but in Mac Preview the link appears with a border around it. Here is my code :
>    PDAnnotationLink link = new PDAnnotationLink();
>    PDBorderStyleDictionary border = new PDBorderStyleDictionary();
>    border.setWidth( 0f );
>    link.setBorderStyle( border );
> Can this be fixed to show no border in Mac's Preview ?
> I have attached a sample PDF with a link in its last page ... You can test it on Adobe reader and Mac's Preview programs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.