Skip to content

Commit

Permalink
Temporarily revert default renderer to sandwich while investigating r…
Browse files Browse the repository at this point in the history
…egressions in macOS Preview
  • Loading branch information
jbarlow83 committed Dec 24, 2023
1 parent f38aebb commit 1db8b0b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
=======

Expand Down
2 changes: 1 addition & 1 deletion src/ocrmypdf/builtin_plugins/tesseract_ocr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1db8b0b

Please sign in to comment.