Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜索 | 用户支持

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

详细了解

PDF.js renders only 4 pages not whole PDF document - how to make PDF.js render the whole PDF?

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

more options

PDF.js renders only 4 pages not whole PDF document - how to make PDF.js render the whole PDF?

PDF.js renders only 4 pages not whole PDF document - how to make PDF.js render the whole PDF?

所有回复 (7)

more options

OK, I try to improve my question: If you open a PDF in PDF.js with 20 pages and you click 'select all' and copy and then you paste it into Word, only 4 pages are pasted i.e. the PDF is not fully recognized. How can I force PDF.js to recognize the full document?

more options

Some PDFs are not rendered in their entirety when loaded, but only as you continue to scroll down. It seems that scanned books and other highly dense materials are the examples I see most. This could be some kind of optimization to be able to let you start reading rather than wait for the actual amount of time it would take to fully render the PDF. But that's just a guess.

more options

jscher - your are still after many years the BEST!!! My problem is: no matter which PDF - they all are not fully recognized - rendered yes, but I cannot copy and paste all pages (only 4 pages are pasted - please try it) - the root problem for me is: I would like to SEARCH PDFs like HTML files and yes I use a legacy add-on with cyberfox 52, HUGO SEARCH IN ALL TABS with which I can search in 50 or 100 tabs and therefore it is important that the PDFs are not only rendered but completely searchable - Attention: I verified the PDF.js behavior with the current Firefox version, so Cyberfox is not the issue!!!

It is unfortunately not true that PDF.js just takes some time to render the full PDF - it only renders he pages you call up and no more pages - I could easily wait 5 or 10 minutes until all pages are rendered, unfortunately PDF.js does not render all pages for searching over time and actually that's what I am asking for: How can I force PDF.js to render all pages - it would be great!

jscher thank you for your help you gave me whenever I had a problem with Firefox, maybe you know a special solution this time too.?

more options

Hmm, I tested on a 5-page PDF generated by printing from a blog. If I open the file, select all, copy without scrolling at all, I get two pages when I paste. If I scroll to the end, select all, copy then I get all five pages when I paste.

With a 10-page, 2-column article, the results are quite variable and extremely messy.

I don't know a solution to the progressive rendering/search problem. Extensions are not allowed to run in the PDF viewer (to automatically scroll the document for you to force it to render).

more options

Thank you very much for helping and confirming the situation. It would be a good thing if the PDF.js developers would fix this.

more options

You could file a bug report at https://bugzilla.mozilla.org/

more options

Thanks, yes, but this issue is known since many years and development did not address it.