From 4f3673d14d40f1c08f528ee61ddffb52d19248ae Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sat, 22 Aug 2015 00:40:07 -0700 Subject: [PATCH] Update notes for -rc6 --- RELEASE_NOTES.rst | 6 ++++-- ocrmypdf/main.py | 2 +- setup.py | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 57e98e52..0bc2abe4 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -11,12 +11,12 @@ v3.0: New features ------------ -- Easier installation with Python's package manager +- Easier installation with a Docker container or Python's ``pip`` package manager - Eliminated many external dependencies, so it's easier to setup - Now installs ``ocrmypdf`` to ``/usr/local/bin`` or equivalent for system-wide access and easier typing - Improved command line syntax and usage help (``--help``) -- Tesseract 3.03 PDF page renderning can be used instead for better positioning +- Tesseract 3.03+ PDF page rendering can be used instead for better positioning of recognized text (``--pdf-renderer tesseract``) - PDF metadata (title, author, keywords) are now transferred to the output PDF @@ -70,6 +70,8 @@ Release candidates - rc6: - dropped libxml2 (Python lxml) since Python 3's internal XML parser is sufficient + - set up Docker container + - fix Unicode errors if recognized text contains Unicode characters and system locale is not UTF-8 - rc5: diff --git a/ocrmypdf/main.py b/ocrmypdf/main.py index cd3c8acb..84bc681b 100755 --- a/ocrmypdf/main.py +++ b/ocrmypdf/main.py @@ -103,7 +103,7 @@ check_pil_encoder('zlib', 'PNG') parser = cmdline.get_argparse( prog="ocrmypdf", description="Generate searchable PDF file from an image-only PDF file.", - version='3.0rc5', + version='3.0rc6', fromfile_prefix_chars='@', ignored_args=[ 'touch_files_only', 'recreate_database', 'checksum_file_name', diff --git a/setup.py b/setup.py index 0849d1fa..faf9154e 100644 --- a/setup.py +++ b/setup.py @@ -179,7 +179,7 @@ tests_require = open('test_requirements.txt').read().splitlines() setup( name='ocrmypdf', - version='3.0rc5', # also update: release notes, main.py + version='3.0rc6', # also update: release notes, main.py description='OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched', url='https://github.com/fritz-hh/OCRmyPDF', author='James. R. Barlow',