Live data from Hacker News

SumatraPDF Reader

github.com

41–50 of 276 posts

Re: SumatraPDF Reader

#41

Like others have mentioned, Sumatra is one of a few Windows-only utilities that I routinely miss when on Mac or Linux, primarily due to two simple interactions which I miss every day viewing schematics, mechanical/technical drawings or datasheets -- Alt + Scroll == Zoom and Right Click + Drag == Pan. Does anyone know of any viewers on Mac or Linux that provide these two features? Skim on Mac implements Option + Scrol…

evince (linux) does Zoom with Ctrl + Scroll, maybe yours does too? I don't think it has Pan, but I'm keyboard-heavy and use horizontal scroll with Shift + Scroll.

Re: SumatraPDF Reader

#43

Like others have mentioned, Sumatra is one of a few Windows-only utilities that I routinely miss when on Mac or Linux, primarily due to two simple interactions which I miss every day viewing schematics, mechanical/technical drawings or datasheets -- Alt + Scroll == Zoom and Right Click + Drag == Pan. Does anyone know of any viewers on Mac or Linux that provide these two features? Skim on Mac implements Option + Scrol…

Every browser pdf reader I've seen handles the alt+scroll for zooming (since the browser itself does it) Not sure about panning shortcut.

Re: SumatraPDF Reader

#44
post #32

Sumatra is one of the (few) win apps I miss since recently converting to linux. Running it under wine seems like overkill, but I wish for a debian port...

> but I wish for a debian port...

Sumatra makes heavy use of the win32 API so a port is not possible. This design is why it's so good (light, fast, well integrated) and the author refused to lessen his software by using a cross platform framework.

Re: SumatraPDF Reader

#45
post #24

Bless the heart of whoever looked at the PDF spec and said to themselves, "Nice, I'd like to writer a parser for this."

No joke. Yesterday I found out PDFs can have forms with JavaScript. https://tcpdf.org/examples/example_014/ How does this even work?

I hope I can amuse you further: PDF embedded 3d models https://helpx.adobe.com/mt/acrobat/using/displaying-3d-model... and interaction https://www.astrobetter.com/blog/2012/03/07/tutorial-for-emb...

You can also do animated page transitions like PowerPoint, but I don't have the right link available...

Re: SumatraPDF Reader

#46

Bless the heart of whoever looked at the PDF spec and said to themselves, "Nice, I'd like to writer a parser for this."

Even once you have a parser itself, actually figuring out what to display and where is... interesting. Especially in generated rather than hand-created documents. What's the element's position? Grab your math library, we're multiplying matrices! What does this text say? Let's write another parser for the table of very custom codepoints!

Re: SumatraPDF Reader

#47
post #32

Sumatra is one of the (few) win apps I miss since recently converting to linux. Running it under wine seems like overkill, but I wish for a debian port...

Qpdfview is my daily driver for reading documents on Linux. Supports tabs, search, highlighting.

If you want something still more lightweight, Zathura would be the way to go. It can be a tad too minimalistic, but great for LaTeX with vimtex, and for an occasional quick document, the startup times are phenomenal.

Re: SumatraPDF Reader

#48
post #32

Sumatra is one of the (few) win apps I miss since recently converting to linux. Running it under wine seems like overkill, but I wish for a debian port...

I thought I would too. But Zathura had been adequate over the years (similarly mupdf based). And I have been using sioyek[1] for few months and I probably like it the best.

[1] https://sioyek.info/

Post reply on HN