View Single Post
Old 02-19-2021, 02:26 PM   #19
PeterFs
Junior Member
PeterFs began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2021
Device: iPad
Quote:
Originally Posted by Pkoetsie View Post
I had the same issue with a couple of PDFs that were created with Calibre, and managed to fix it by transforming them using Ghostscript.
I ran the following command to have Ghostscript recreate the PDFs:
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile="<New PDF file>" "<Original PDF file>"
A few years later, however I can confirm that this works. Ghostcript has been around for around 20 years to my knowledge, although I would like to know exactly what it does when it recreates a PDF?

I has also tried to convert some Apple Preview non-searchable PDF's to PDFA in Acrobat Professional preflight/standards. This did not work for my original text PDF, although it worked for the Ghostscript processed PDF. This suggests that Ghostscript repaired, or at least stnstandarised the PDF, in some way.

Overall, unless I find that Ghostscript reduces the quality of PDF's, this appears to be an excellent solution.
PeterFs is offline   Reply With Quote