Compare commits

...
4 Commits
5 changed files with 29 additions and 3 deletions
@@ -1,4 +1,4 @@
name: General issues name: Installation, packaging, dependencies
description: Installation, packages, dependencies, "nothing works", test suite failures... description: Installation, packages, dependencies, "nothing works", test suite failures...
title: "[Bug]: " title: "[Bug]: "
labels: ["bug", "triage"] labels: ["bug", "triage"]
@@ -9,6 +9,10 @@ body:
attributes: attributes:
value: | value: |
Thanks for taking the time to fill out this bug report! Thanks for taking the time to fill out this bug report!
If your issue involves using OCRmyPDF on specific file(s) and not getting
good results, this is the *wrong* issue template. Please use the recommended
template to ensure we have enough information to help.
- type: textarea - type: textarea
id: what-happened id: what-happened
attributes: attributes:
@@ -32,7 +32,20 @@ body:
attributes: attributes:
label: Files label: Files
description: Please attach the input and output files, or any screenshots that may be helpful. description: Please attach the input and output files, or any screenshots that may be helpful.
placeholder: Drag and drop files here placeholder: |
Drag and drop files here.
If you cannot provide a test file, we probably won't be able to help with the issue.
PDF is a complex file format, and there may be technical details in the PDF that are
causing the issue. There's really no substitute for a test file.
We understand files may contain personal or sensitive information. Here are some options:
- Try reproducing the issue with a file from the test suite. (See tests/resources)
- Try to create another file in the same way as your private file.
- Encrypt the file to OCRmyPDF's private GPG key.
- Use ``qpdf --json yourfile.pdf`` to produce a JSON representation of your file that
omits personal information.
- type: dropdown - type: dropdown
id: packaging-system id: packaging-system
attributes: attributes:
+2
View File
@@ -243,6 +243,7 @@ jobs:
steps: steps:
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4
with: with:
name: artifact
path: dist path: dist
- name: Publish to PyPI - name: Publish to PyPI
@@ -259,6 +260,7 @@ jobs:
steps: steps:
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4
with: with:
name: artifact
path: dist path: dist
- name: Create Release - name: Create Release
+7
View File
@@ -30,6 +30,13 @@ OCRmyPDF typically supports the three most recent Python versions.
.. |OCRmyPDF PyPI| image:: https://img.shields.io/pypi/v/ocrmypdf.svg .. |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 v16.0.1
======= =======
@@ -146,7 +146,7 @@ def check_options(options):
# Decide on what renderer to use # Decide on what renderer to use
if options.pdf_renderer == 'auto': if options.pdf_renderer == 'auto':
options.pdf_renderer = 'hocr' options.pdf_renderer = 'sandwich'
if not tesseract.has_thresholding() and options.tesseract_thresholding != 0: if not tesseract.has_thresholding() and options.tesseract_thresholding != 0:
log.warning( log.warning(