Skip to content

Commit

Permalink
ghostscript: change input filename order for 10.03.1
Browse files Browse the repository at this point in the history
Ghostscript now expects the pdfa.ps file to precede other files. Fixes #1359.
  • Loading branch information
jbarlow83 committed Jul 22, 2024
1 parent 46b49cc commit f974e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ocrmypdf/builtin_plugins/ghostscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def generate_pdfa(
):
"""Generate a PDF/A from the list of PDF pages and PDF/A metadata."""
ghostscript.generate_pdfa(
pdf_pages=[*pdf_pages, pdfmark],
pdf_pages=[pdfmark, *pdf_pages],
output_file=output_file,
compression=context.options.pdfa_image_compression,
color_conversion_strategy=context.options.color_conversion_strategy,
Expand Down

0 comments on commit f974e3b

Please sign in to comment.