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

搜索 | 用户支持

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

详细了解

Not all PDF files display correctly using "Preview in Firefox"

  • 5 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 PeteJG

more options

A pdf from the following link doesn't display using the "preview in Firefox" setting. I see a blank page and the file turns up in my downloads folder. If I change the setting to use Acrobat DC it displays in acrobat ok. All pdf files from the same site behave the same. https://myvolunteering.nationaltrust.org.uk/Stourhead/file/Spring-2018.pdf

However a pdf from the following link works ok with the "preview in Firefox" setting. Again, all pdf files from this site behave the same. https://probus-gillingham-dorset.org.uk/Uploads/sendFile/366

I'm using firefox 59.0(64 bit). I have automatic updates set so firefox is automatically up-to-date. This used to work ok, so far as I can tell it started failing around December 2017.

Any thoughts please?

A pdf from the following link doesn't display using the "preview in Firefox" setting. I see a blank page and the file turns up in my downloads folder. If I change the setting to use Acrobat DC it displays in acrobat ok. All pdf files from the same site behave the same. https://myvolunteering.nationaltrust.org.uk/Stourhead/file/Spring-2018.pdf However a pdf from the following link works ok with the "preview in Firefox" setting. Again, all pdf files from this site behave the same. https://probus-gillingham-dorset.org.uk/Uploads/sendFile/366 I'm using firefox 59.0(64 bit). I have automatic updates set so firefox is automatically up-to-date. This used to work ok, so far as I can tell it started failing around December 2017. Any thoughts please?

所有回复 (5)

more options

Hi, seems an issue that only affects users who have turned off cleartype font rendering within their windows settings. so a workaround for the moment would either be to turn cleartype back on or disabling hardware acceleration in Firefox: Firefox's performance settings https://support.mozilla.org/en-US/kb/performance-settings

Please check to see if this makes a difference.

If fails to make changes after restarting Firefox or enable cleartype please : uninstall Firefox. Then Delete the Mozilla Firefox Folders in C:\Program Files , C:\Program Files(x86) & C:\ProgramData Then restart system. Then run Windows Disk Cleanup. (Note: This should be Pinned and run Weekly, If never done below expect 10's of gig's) Then run it again and click the button that says Cleanup System Files. Note: your Firefox Profile is saved. But you should make a back up before you do :

Reinstall with Current Release Firefox 59.0.1 with a Full Version Installer

Please let us know if this solved your issue or if need further assistance.

more options

Hi PeteJG, it's a server configuration issue. This URL:

https://myvolunteering.nationaltrust.org.uk/Stourhead/file/Spring-2018.pdf

sends Firefox an unusual content-type header:

  • Content-Type: application/unknown
  • content-disposition: filename="Spring-2018.pdf"

They certainly could send application/pdf if they want browsers to handle the file normally, so I don't know why they are doing that. Or to put that another way, I don't know whether they are intentionally bypassing normal PDF handling or whether someone made a mistake somewhere.

由jscher2000 - Support Volunteer于修改

more options

Thanks for your replies guys.

Pkshadow: I did all that (cleartype was already turned on) but unfortunately it's still the same. I'm pretty sure it did once work, but am beginning to doubt my certainty. I thought it worked around December time but I've got an ageing version of linux mint with Firefox 56 installed last October and it fails on there. I have an old ios9 ipad with firefox & it works on there. Of course IE/edge works by calling Acrobat. Not to worry though I'll follow up jscher2000's suggestion.

jscher2000: I'll feed that back to the National Trust, thanks. BTW, did you persuade Firefox to show you the header or did you need a network trace?

more options

Hi PeteJG, the Browser Console can show network requests and responses, so that's where I found the headers. (If it's a page load in the same tab, the Network Monitor is easier/better.)

more options

OK Got it, thanks very much.