We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

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

  • 2 uphendule
  • 4 zinale nkinga
  • 1 view
  • Igcine ukuphendulwa ngu cfcentaurea

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?

Isisombululo esikhethiwe

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

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 5

All Replies (2)

more options

Isisombululo Esikhethiwe

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!