Merge branch 'master' into feature/drop-3.7

This commit is contained in:
James R. Barlow
2022-09-15 23:00:27 -07:00
21 changed files with 200 additions and 54 deletions
+2 -1
View File
@@ -188,7 +188,8 @@ def generate_pdfa(
strategy = 'LeaveColorUnchanged'
gs_version = version()
if gs_version == '9.56.0':
# 9.56.0 introduced a new rendering mode that breaks our OCR
# 9.56.0 breaks our OCR, should be fixed in 9.56.1
# https://bugs.ghostscript.com/show_bug.cgi?id=705187
compression_args.append('-dNEWPDF=false')
# nb no need to specify ProcessColorModel when ColorConversionStrategy
+2 -1
View File
@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: 2022 James R. Barlow
# SPDX-FileCopyrightText: 2018-2022 James R. Barlow
# SPDX-FileCopyrightText: 2019 Martin Wind
# SPDX-License-Identifier: MPL-2.0
"""OCRmyPDF page processing pipeline functions."""
+2 -1
View File
@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: 2022 James R. Barlow
# SPDX-FileCopyrightText: 2019-2022 James R. Barlow
# SPDX-FileCopyrightText: 2019 Martin Wind
# SPDX-License-Identifier: MPL-2.0
"""Implements the concurrent and page synchronous parts of the pipeline."""