mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2026-05-05 13:16:55 -04:00
It looks like GS 9.19 can incorrectly set overprinting for the text layer even though this makes no sense in PDF/A, or at least someone produced PDFs that have this after a Tesseract PDF -> GS PDF/A conversion. GS 9.20 complains about this. Instead of aborting, elide the feature. See http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=094d5a1880f1cb9ed320ca9353eb69436e09b594 and issue #107. It looks like it is better to elide features and warn about elision rather than abort with an error.