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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user