How to stop Flying Saucer (xhtmlrender) PDFs showing border around hyperlinks on MacOS X?
-
16-09-2019 - |
Question
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
Solution
Looks like this is an unresolved bug in xhtmlrenderer - https://xhtmlrenderer.dev.java.net/issues/show_bug.cgi?id=265
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow