This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

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

more options

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