ghostscript: Disable subset fonts

For at least the PDF associated with this issue, disabling subset
fonts prevents Ghostscript from mangling the encoding when it is usable but not well-formed.

Fixes #1592
This commit is contained in:
James R. Barlow
2025-11-10 15:58:14 -08:00
parent ee47e986f3
commit 2f72f8e94a
+1
View File
@@ -286,6 +286,7 @@ def generate_pdfa(
+ compression_args
+ [
"-dJPEGQ=95",
"-dSubsetFonts=false", # Prevents GS from messing up some encodings
f"-dPDFA={pdfa_part}",
"-dPDFACompatibilityPolicy=1",
"-o",