views:

342

answers:

1

I am using Flying Saucer (xhtmlrenderer) to create a PDF that contains a hyperlink. When the PDF is viewed in Adobe Reader it looks as expected, but when viewed in Preview.app on the mac it displays a thin black border around the hyperlink.

How do I get Flying Saucer to render the PDF such that this border is not displayed?

From some further investigation, I have seen this problem is also exhibited in

  • Mac version of Acrobat Reader

But does not occur in

  • Evince on ubuntu
  • Adobe Reader on ubuntu
  • Acrobat Reader on windows
+1  A: 

Looks like this is an unresolved bug in xhtmlrenderer - https://xhtmlrenderer.dev.java.net/issues/show%5Fbug.cgi?id=265

Matt Sheppard