pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hesham G." <heshamgne...@gmail.com>
Subject Re: Creating a link with no border
Date Wed, 19 Jan 2011 05:36:28 GMT
Thanks a lot Adam for the fast response.
I have opened a Jira bug with a sample PDF if anyone wants to follow this :
https://issues.apache.org/jira/browse/PDFBOX-943


Best regards ,
Hesham 

---------------------------------------------
Included message :


> It looks to me like you're doing everything correctly, and Adobe Reader 
> renders it properly, so it sounds like that a bug with Mac Preview.  The 
> only thing you can do is report it to them and hope they fix it.  Setting 
> the border to zero really should work.
> 
> ---- 
> Thanks,
> Adam
> 
> 
> 
> Hello ,
> 
> 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 ?
> 
> 
> Best regards ,
> Hesham 
> 
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message