From 4a9e9e9db2117688e3371e2cd92339da40228dda Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Wed, 29 Mar 2017 13:19:34 -0700 Subject: [PATCH] v4.5.3 release notes --- RELEASE_NOTES.rst | 7 +++++++ ocrmypdf/pdfa.py | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index fa47ba5e..edcfc01b 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -4,6 +4,13 @@ RELEASE NOTES OCRmyPDF uses `semantic versioning `_. +v4.5.3 +====== + +- Added a workaround for Ghostscript 9.21 and probably early versions would fail with the error message "VMerror -25", due to a Ghostscript bug in XMP metadata handling +- High Unicode characters (U+10000 and up) are no longer accepted for setting metadata on the command line, as Ghostscript may not handle them correctly. + + v4.5.2 ====== diff --git a/ocrmypdf/pdfa.py b/ocrmypdf/pdfa.py index b10262f8..c06df910 100644 --- a/ocrmypdf/pdfa.py +++ b/ocrmypdf/pdfa.py @@ -122,6 +122,10 @@ def generate_pdfa_ps(target_filename, pdfmark, icc='sRGB'): f.write(ps) +# The old name is generate_pdfa_def -- now deprecated +generate_pdfa_def = generate_pdfa_ps + + def file_claims_pdfa(filename): """Determines if the file claims to be PDF/A compliant