Live data from Hacker News

SumatraPDF Reader

github.com

151–160 of 276 posts

Re: SumatraPDF Reader

#151

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!

mapping coordinates via projection matrices pretty common tbh

Re: SumatraPDF Reader

#152

SumatraPDF is among the OSS PDF tools I use. Since Adobe is pushing a more aggressive stance for monetization of Acrobat, I am trying to replace selected PDF workflows with OSS. Here are some of the tools I use. qpdf removing passwords, unlocking PDFs, conversion install in WSL with apt-get install qpdf remove password with qpdf --decrypt --password="" input.pdf output.pdf PDF4QT - Open Source PDF Editing Deleting, S…

I use xournal to add signatures (just pngs) and text to pdfs.

Re: SumatraPDF Reader

#153

SumatraPDF is among the OSS PDF tools I use. Since Adobe is pushing a more aggressive stance for monetization of Acrobat, I am trying to replace selected PDF workflows with OSS. Here are some of the tools I use. qpdf removing passwords, unlocking PDFs, conversion install in WSL with apt-get install qpdf remove password with qpdf --decrypt --password="" input.pdf output.pdf PDF4QT - Open Source PDF Editing Deleting, S…

I like k2pdfopt for reformatting pdfs for my e-reader.

I've also used poppler's pdfimages but I'd prefer like something less buggy for my use case; any version I've tried had problem with one pdf made by Adobe InDesign.

Also, tesseract allows creation of a pdf from the images with the embedded OCR text. It is also built in in the k2pdfopt.

Re: SumatraPDF Reader

#154

SumatraPDF is among the OSS PDF tools I use. Since Adobe is pushing a more aggressive stance for monetization of Acrobat, I am trying to replace selected PDF workflows with OSS. Here are some of the tools I use. qpdf removing passwords, unlocking PDFs, conversion install in WSL with apt-get install qpdf remove password with qpdf --decrypt --password="" input.pdf output.pdf PDF4QT - Open Source PDF Editing Deleting, S…

You mention qpdf not available in Chocolatey, but it's available in Scoop, which is another Windows package manager: https://github.com/ScoopInstaller/Main/blob/master/bucket/qp...

Re: SumatraPDF Reader

#155

SumatraPDF is among the OSS PDF tools I use. Since Adobe is pushing a more aggressive stance for monetization of Acrobat, I am trying to replace selected PDF workflows with OSS. Here are some of the tools I use. qpdf removing passwords, unlocking PDFs, conversion install in WSL with apt-get install qpdf remove password with qpdf --decrypt --password="" input.pdf output.pdf PDF4QT - Open Source PDF Editing Deleting, S…

Also take a look at Okular. It's the only PDF reader I've seen to let you select a specific column in a table.

Re: SumatraPDF Reader

#156

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

Having done that, PDF spec is in many ways much saner and better designed than plenty of "APIs" modern JS jockeys create.

The original spec is a bit ugly because they were saving bytes in the format (using things like single letters for dictionary keys), but some things are actually quite well thought out (Appearance Streams are great for forward and backward compatibility and are probably no. 1 reason why nothing managed to replace PDF.)

Re: SumatraPDF Reader

#157
post #53

Earlier quoted context omitted.

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...

You did amuse me! Thanks! To me this is the kind of scope creep that causes a "simple" PDF renderer department to end up with 50 devs working in it full-time. I wonder... can a PDF have an iframe that opens itself? Causing an infinie loop of it loading itself?

In reality most PDF apps don't support those elements (even software like macOS Preview) and people get along just fine.

Re: SumatraPDF Reader

#158
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.

This is an important point - single platform apps for Windows and macOS or iOS or Android behave and look much better than cross platform apps let alone browser based apps.

I will put up with less functions for the better feel.

However many people want to appeal to more users or program in Linux or web and so have a default cross platform GUI anyway (or make it cross platform easily)

Re: SumatraPDF Reader

#159

SumatraPDF is among the OSS PDF tools I use. Since Adobe is pushing a more aggressive stance for monetization of Acrobat, I am trying to replace selected PDF workflows with OSS. Here are some of the tools I use. qpdf removing passwords, unlocking PDFs, conversion install in WSL with apt-get install qpdf remove password with qpdf --decrypt --password="" input.pdf output.pdf PDF4QT - Open Source PDF Editing Deleting, S…

how can i sign and date a PDF with a bitmap signature without 9999 janky clicks

Re: SumatraPDF Reader

#160

Great retrospective of SumatraPDF from the author: https://blog.kowalczyk.info/article/2f72237a4230410a888acbfc... .

From the retrospective. > And yet I do know that you can write complex, relatively bug free code without tests, because I did it. > I do know that you can write complex, relatively bug free code without anyone looking over your code, because I did it. > If no one uses your app then who cares if it crashes. > If many people use your app and it crashes, they’ll tell you and then you’ll fix it. Those four statements are…

(I wrote that blog post).

What I was trying to say is: there's dogma about tests and code reviews.

At Google you would get fired for suggesting skipping code review.

Even at smaller Silicon Valley companies (smaller == less than 10 devs) it's unthinkable to not do code reviews. I haven't worked outside SV so it might be different.

That's the dogma.

My point is that maybe we should apply a bit of common sense on top of that.

I'm not saying Google should stop doing code reviews - the cost (to Google) of google search breaking is so high that you do 100x more than just code reviews.

But maybe those smaller companies don't need to dogmatically review the checkin for a documentation fix.

Post reply on HN