PDF.js configuration options
I would like to have the following configuration options with PDF.js: 1. The black background color looks like a funeral. White or a grey would be much better- how can I change the background color? 2. How can I set "page fit" as default? 3. How can I minimize padding left and right to a minimum? 4. PDF.js does not render all pages when a PDF is loaded, this is intentional so that the PDF is displayed faster - ok. However, loading time is not an issue to me, most of the PDFs I use are stored on my PC and I use the PDFs for my work as translator - for many hours, so if the loading time at the beginning takes a little bit this is no problem, but if PDF.js does not render the whole PDF so that I can search the whole text this is a problem - how can I configure PDF.js so that the whole text is rendered - always? 5. PDF.js uses a lot of paragraph marks to format text and even within a word. Is there a way to have commands in the CSS so that paragraph marks are ignored with the FF search? 6. Is there a smart copy application, with which I can copy text in PDF.js formatted???
That's it for now - Any help is very much appreciated!
Thank you
Svi odgovori (3)
1. The black background color looks like a funeral. White or a grey would be much better- how can I change the background color? see last
2. How can I set "page fit" as default? about:config pdf.js.DefaultZoomValue
3. How can I minimize padding left and right to a minimum?
zooming in and out
4. PDF.js does not render all pages when a PDF is loaded, this is intentional so that the PDF is displayed faster - ok. However, loading time is not an issue to me, most of the PDFs I use are stored on my PC and I use the PDFs for my work as translator - for many hours, so if the loading time at the beginning takes a little bit this is no problem, but if PDF.js does not render the whole PDF so that I can search the whole text this is a problem - how can I configure PDF.js so that the whole text is rendered - always?
This one I do not know.
5. PDF.js uses a lot of paragraph marks to format text and even within a word. Is there a way to have commands in the CSS so that paragraph marks are ignored with the FF search?
I do not know
You may submit feedback directly to the Advocacy team through the following page:
The User Advocacy team reviews all feedback and reports on the findings to the product teams and relevant parties, helping to influence and shape our products.
Hi Hugo:
The pdf.js project is a work in progress, so you also can submit "issues" (bug reports, feature requests) here: https://github.com/mozilla/pdf.js/issues/
Many aspects of content displayed in Firefox can be modified by applying custom style rules, or with Greasemonkey user scripts. With highly scripted displays like pdf.js, this tends to be more challenging, but if you do not find any solutions here or on the add-ons site, you could post a request on a site like one of the following and see whether someone will take on the challenge:
Regarding this part:
6. Is there a smart copy application, with which I can copy text in PDF.js formatted???
What you can select with pdf.js is a transparent text layer that's mostly there for searching, likely is in the wrong font, and can look terrible when copy/pasted. What you see through that layer is an image, and individual characters in the image are not selectable.
For PDFs on your system, I think Adobe Reader or another stand-alone application probably will give you better results.
Thank you two very much for your replies!
However, in the meantime I have decided to buy a professional tool for about $ 150.- that serves my purposes much better than struggling with an unusable product i.e. PDF.js. It is too bad that PDF.js is nothing more than a technical toy for software developers.
Again, I appreciate your advice, thank you.
Best regards Hugo