From 87a7d4d1a83ce28caaefa4a2a4c1363fa33a49bb Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Mon, 14 May 2018 13:58:49 -0700 Subject: [PATCH] Another fitz failure - incorrect object reference introduced MuPDF/fitz changed some font references to point to table of contents entries, corrupting the page. It no longer gets to save. --- src/ocrmypdf/pipeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ocrmypdf/pipeline.py b/src/ocrmypdf/pipeline.py index 96f3aa02..7ed102d2 100644 --- a/src/ocrmypdf/pipeline.py +++ b/src/ocrmypdf/pipeline.py @@ -1058,8 +1058,8 @@ def metadata_fixup( if options.output_type.startswith('pdfa'): _do_merge_ghostscript([layers_file, ps], output_file, log, context) - elif fitz: - _do_merge_mupdf([layers_file], metadata_file, output_file, log, context) + # elif fitz: + # _do_merge_mupdf([layers_file], metadata_file, output_file, log, context) else: re_symlink(layers_file, output_file, log)