You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2011/02/01 08:18:29 UTC

[jira] Closed: (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 ]

Andreas Lehmkühler closed PDFBOX-943.
-------------------------------------


> 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
>            Assignee: Andreas Lehmkühler
>         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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira