搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Bitmap-like font when print webpage to PDF

  • 2 回覆
  • 1 有這個問題
  • 最近回覆由 GuXRS

more options

Please see the attachment, which was the screenshot of a PDF file that was printed from a webpage.

A bitmap-like font was used, which made the text blurry.

I tried setting "layout.css.font-variations.enabled" to false. It didn't help.

This is firefox 87.0 (64-bit) on Void Linux x86_64.

Some help, please?

附加的畫面擷圖

所有回覆 (2)

more options

Hi, is this using the new "Save to PDF" feature in the combined preview/setup/print overlay, or using a PDF printer driver on your system?

When web pages contains large runs of web fonts (rather than standard built-in fonts), Firefox may switch from sending text to the printer to sending full page images. That could be what happened in your case, but it's hard to say because it's a password protected page.*

Taking a closer look, it seems that the word DRAFT appears across the printout? That could indicate that the page you were printing was itself an image or an HTML canvas, or tied the text to the image, which would make Firefox more likely to send a full-page image to the printer.

Of course, if the website is giving you a PDF or embedded PDF, you'll have the best results if you can download the PDF instead of reprinting it. But I don't know whether that is relevant in this case.

* I have a feature in one of my add-ons to switch the fonts as a workaround, however, for any official record, I would not use it. https://www.jeffersonscher.com/ext/printable.html

有幫助嗎?

more options

Thank you!

I run Firefox on Void Linux. I tested the website using Firefox on two different computers. One is Gentoo Linux. The other is Debian. Both printed the fonts fine. I think there may be some fonts missing on my Void Linux, unfortunately.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題