Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on What is the smallest possible valid PDF?.
Unfortunately, this is a valid measure of a "valid Pdf" - it doesn't mean the Pdf will work in other readers.
I've had some luck with qpdf --check - as far as I can recall, I've not seen problems with a file that passes.
http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.testi...
Also worth looking into is mutools with its --clean option.
There are no comments on this comment yet.
Unfortunately, this is a valid measure of a "valid Pdf" - it doesn't mean the Pdf will work in other readers.
I've had some luck with qpdf --check - as far as I can recall, I've not seen problems with a file that passes.
http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.testi...
Also worth looking into is mutools with its --clean option.