LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Increasing font size for PDFs viewed in Firefox (https://www.linuxquestions.org/questions/linux-desktop-74/increasing-font-size-for-pdfs-viewed-in-firefox-4175733799/)

Skaperen 02-12-2024 08:56 PM

Increasing font size for PDFs viewed in Firefox
 
due to my poor vision i view my documents at full screen (HD 1920x1080) and i also increase the font size. 6 clicks on the size + button give me 250%. that is the Python library reference document. other documents need other font sizes.

i set these sizes manually after the full screen window opens. i would like to find a way to open this with a given font size that can be different for each document. each document is opened with a separate desktop so i can set firefox preferences but this has no effect on PDFs. anyone know how to do this?

here is a URL to a PNG image of what it looks like after firefox start up with that PDF file before i do any resizing.

http://ipal.net/lq/20240212/20240212213256380490779.png

here is a URL to a PNG image of what it looks like after i resize the image. i also remove the table of contents on the left.

http://ipal.net/lq/20240212/20240212213333022579908.png

teckk 02-14-2024 04:40 PM

Make multiple profiles perhaps.
https://wiki.mozilla.org/Firefox/CommandLineOptions
http://devdoc.net/web/developer.mozi...e_Options.html

I haven't used firefox for years.

lvm_ 02-14-2024 11:43 PM

Firefox remembers zoom settings on a per-site basis for remote websites but on a per-file basis for files stored locally, so if you make local copies of these files you'll get what you want. Mind it, this works for HTML, but probably should work for PDFs too, and if not, you can always use okular which remembers not only zooms but positions as well.

Skaperen 02-16-2024 07:39 PM

Quote:

Originally Posted by lvm_ (Post 6483698)
Firefox remembers zoom settings on a per-site basis for remote websites but on a per-file basis for files stored locally, so if you make local copies of these files you'll get what you want. Mind it, this works for HTML, but probably should work for PDFs too, and if not, you can always use okular which remembers not only zooms but positions as well.

these are local files i repeatedly view, such as the Python Library Reference. it always starts at 100% (see first link in post #1) then i must always manually enlarge the font to get the size i want. so i take it it does not work for PDFs, perhaps due to different code involved.


All times are GMT -5. The time now is 12:28 PM.