为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Why does Firefox display a box around hotlinks in my pdf document?

more options

Firefox is displayng a thin black line around each of the hotlinks in a pdf that I'm viewing online using the built-in Adobe viewer (see sample screenshot attached). It occures for al hotlinks in this document (bookmarks, URL links, email addresses, etc.). It only happens in this document, no others. I can display this document correctly n Chrome, or download it and open it in Adobe Reader XI on my Mac. The document was created using Magix Xara Page & Layout Design.

Firefox is displayng a thin black line around each of the hotlinks in a pdf that I'm viewing online using the built-in Adobe viewer (see sample screenshot attached). It occures for al hotlinks in this document (bookmarks, URL links, email addresses, etc.). It only happens in this document, no others. I can display this document correctly n Chrome, or download it and open it in Adobe Reader XI on my Mac. The document was created using Magix Xara Page & Layout Design.
已附加屏幕截图

所有回复 (3)

more options

Hi Melcher, Firefox's built-in PDF viewer is not as advanced as Adobe Reader or other PDF viewers, and it sometimes shows things that -- if it were fully compliant -- it should not show, like hidden layers.

Over time, these bugs are swatted one by one, but progress can be slow for uncommon issues.

Do you want to share a link to that PDF, if it's on a public site, for someone to take a closer look?

more options
more options

Hi Melcher, I think it's a combination of things: differences between the two converters, and between Firefox and Acrobat.

The more recent newsletter has clickable hotspots (in Firefox's viewer, these are called link annotations), and the older newsletter does not. This probably is a difference between Xara (preserves links) and Distiller (does not preserve links).

Firefox's viewer has a built-in style rule to show a solid 1px black border around link annotations, and a yellow background when they are hovered with the mouse. I don't think there is a way to avoid or influence that in the current design.

It would be more aesthetically appealing for the viewer to show a light dotted outline, or no outline until hovered, but I don't know whether that would be considered for urgent implementation (i.e., within 3-6 months). You can file a new issue here to start the conversation:

https://github.com/mozilla/pdf.js/issues

(As an aside, the new file name should have Jan 2019.)