diff --git a/docs/release_notes.rst b/docs/release_notes.rst index 5a752bbe7..bc9d42220 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -30,6 +30,13 @@ OCRmyPDF typically supports the three most recent Python versions. .. |OCRmyPDF PyPI| image:: https://img.shields.io/pypi/v/ocrmypdf.svg + +v16.0.2 +======= + +- Temporarily changed PDF text renderer back to sandwich by default to address + regressions in macOS Preview. + v16.0.1 ======= diff --git a/src/ocrmypdf/builtin_plugins/tesseract_ocr.py b/src/ocrmypdf/builtin_plugins/tesseract_ocr.py index c0e223022..9a8a4e79c 100644 --- a/src/ocrmypdf/builtin_plugins/tesseract_ocr.py +++ b/src/ocrmypdf/builtin_plugins/tesseract_ocr.py @@ -146,7 +146,7 @@ def check_options(options): # Decide on what renderer to use if options.pdf_renderer == 'auto': - options.pdf_renderer = 'hocr' + options.pdf_renderer = 'sandwich' if not tesseract.has_thresholding() and options.tesseract_thresholding != 0: log.warning(