diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 5c97ee6e..3738730b 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -5,7 +5,7 @@ Please always read this file before installing the package Download software here: https://github.com/jbarlow83/OCRmyPDF/tags -v4.1.1: +v4.1.2: ======= - Replace IEC sRGB ICC profile with Debian's sRGB (from icc-profiles-free) which is more compatible with the MIT license diff --git a/ocrmypdf/pdfa.py b/ocrmypdf/pdfa.py index 820c86c2..4878f0e8 100644 --- a/ocrmypdf/pdfa.py +++ b/ocrmypdf/pdfa.py @@ -8,7 +8,7 @@ from string import Template import codecs import pkg_resources -ICC_PROFILE_RELPATH = 'data/sRGB_IEC61966-2-1_black_scaled.icc' +ICC_PROFILE_RELPATH = 'data/sRGB.icc' SRGB_ICC_PROFILE = pkg_resources.resource_filename( 'ocrmypdf', ICC_PROFILE_RELPATH) diff --git a/setup.py b/setup.py index b560273c..4eed6009 100644 --- a/setup.py +++ b/setup.py @@ -230,6 +230,6 @@ setup( 'ocrmypdf = ocrmypdf.main:run_pipeline' ], }, - package_data={'ocrmypdf': ['data/sRGB_IEC61966-2-1_black_scaled.icc']}, + package_data={'ocrmypdf': ['data/sRGB.icc']}, include_package_data=True, zip_safe=False)