Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Can I change default display width in built-in PDF Viewer?

more options

I pretty much always want to view PDFs in "page width" but the default "automatic zoom" setting always displays them to fill the height rather than the width of the window and I have to change it manually every time I view a PDF. Can I change this setting somewhere?

I pretty much always want to view PDFs in "page width" but the default "automatic zoom" setting always displays them to fill the height rather than the width of the window and I have to change it manually every time I view a PDF. Can I change this setting somewhere?

Chosen solution

hi cfcentaurea, you can set a default view like this: enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named pdfjs.defaultZoomValue. double-click it and change its value to page-width (this should have an effect on all new documents you open).

https://github.com/mozilla/pdf.js/pull/3850

Read this answer in context 👍 5

All Replies (2)

more options

Seçilmiş Həll

hi cfcentaurea, you can set a default view like this: enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named pdfjs.defaultZoomValue. double-click it and change its value to page-width (this should have an effect on all new documents you open).

https://github.com/mozilla/pdf.js/pull/3850

more options

Thanks so much, philipp, that seems to have done the trick!