Resolve Windows errors with -dPDFSTOPONERROR

This commit is contained in:
James R. Barlow
2023-06-02 02:48:38 -07:00
parent 0a7b60cda5
commit 05ecb6ca46
4 changed files with 13 additions and 3 deletions
+4
View File
@@ -196,6 +196,10 @@ def generate_pdfa(
# https://bugs.ghostscript.com/show_bug.cgi?id=705187
compression_args.append('-dNEWPDF=false')
if os.name == 'nt':
# Windows has lots of fatal "permission denied" errors
stop_on_error = False
# nb no need to specify ProcessColorModel when ColorConversionStrategy
# is set; see:
# https://bugs.ghostscript.com/show_bug.cgi?id=699392