如何停止飞碟(xhtmlrender)PDF显示MacOS X上超链接的边框?

时间:2022-05-15 21:08:23

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.

我正在使用Flying Saucer(xhtmlrenderer)来创建包含超链接的PDF。在Adobe Reader中查看PDF时,它看起来像预期的那样,但是当在Mac上的Preview.app中查看时,它会在超链接周围显示一个细黑色边框。

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

如何让Flying Saucer渲染PDF以便不显示此边框?

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

从进一步的调查,我已经看到这个问题也在展出

  • Mac version of Acrobat Reader
  • Mac版的Acrobat Reader

But does not occur in

但不会发生

  • Evince on ubuntu
  • 在ubuntu上的Evince

  • Adobe Reader on ubuntu
  • ubuntu上的Adobe Reader

  • Acrobat Reader on windows
  • Windows上的Acrobat Reader

1 个解决方案

#1


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

看起来这是xhtmlrenderer中一个未解决的错误 - https://xhtmlrenderer.dev.java.net/issues/show_bug.cgi?id=265

#1


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

看起来这是xhtmlrenderer中一个未解决的错误 - https://xhtmlrenderer.dev.java.net/issues/show_bug.cgi?id=265