Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

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

  • 2 réponses
  • 4 ont ce problème
  • 2377 vues
  • Dernière réponse par 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?

Solution choisie

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

Lire cette réponse dans son contexte 👍 5

Toutes les réponses (2)

more options

Solution choisie

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!