X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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

Additional System Details

Installed Plug-ins

  • Adobe PDF Plug-In For Firefox and Netscape 11.0.05
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Shockwave Flash 18.0 r0
  • Adobe Shockwave for Director Netscape plug-in, version 12.1.8.158
  • Adobe Shockwave for Director Netscape plug-in, version 12.1.7.157

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0

More Information

philipp
  • Top 25 Contributor
  • Moderator
5114 solutions 22652 answers

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

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

Question owner

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

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