James R. Barlow
4a9e9e9db2
v4.5.3 release notes
2017-03-29 13:19:34 -07:00
James R. Barlow
e71e8ca3ad
Workaround for GS VMerror -25 bug
...
Avoid inserting docinfo keys that would be translated to null strings,
to avoid running afoul of
https://bugs.ghostscript.com/show_bug.cgi?id=697684
2017-03-28 11:05:43 -07:00
James R. Barlow
45e9257d6e
Don’t use filename “pdfa_def.ps” for GS file
...
At recommendation of Artifex people, don’t use the filename pdfa_def.ps
because if given without a full path Ghostscript will prioritize
searching its own resources over the current directory, and will pick up
the example file pdfa_def.ps instead. We used the full path anyway,
but this is a prudent defensive change to avoid odd Ghostscript behavior.
2017-03-28 11:02:46 -07:00
James R. Barlow
f246779b8e
pdfa: documentation, remove from __future__
2016-12-12 15:10:10 -08:00
James R. Barlow
eecab9b95d
pdfa: fix KeyError on pdfa_dict if document has some xmp metadata but
...
not exactly what we’re looking for
2016-11-09 05:41:12 -08:00
James R. Barlow
2ac8e8a0cc
More doc tweaks, mainly introduction
2016-09-08 11:29:53 -07:00
James R. Barlow
38fe14b108
Make final PDF/A output message less obtuse
2016-08-25 14:46:40 -07:00
James R. Barlow
44f47fba21
PDF/A: handle case of no XMP metadata gracefully
2016-08-03 02:57:25 -07:00
James R. Barlow
02584094a1
Suppress NUL bytes in metadata from input files
2016-08-03 02:47:44 -07:00
James R. Barlow
91d715ac93
Add test cases for --output-type
2016-08-03 02:47:18 -07:00
James R. Barlow
12575d594a
Improve PDF/A validity checking at end
2016-08-03 01:26:16 -07:00
James R. Barlow
ebe68de4ff
Functional qpdfmerge with PyPDF2 for DocumentInfo block
...
Tests mostly passing. For the moment this is the new default.
Although PyPDF2 produces a PDF-1.3 which will be wrong for some contents
and possible should be repaired with qpdf. Again.
Looks like it could work better to merge PyPDF2 and fix everything
with qpdf.
2016-08-02 16:48:13 -07:00
James R. Barlow
b964999427
Update filename references from sRGB_IEC to sRGB
2016-05-10 21:58:04 -07:00
James R. Barlow
3d0e8c9629
Provide our own sRGB profile instead of Ghostscript's
2016-03-01 01:27:40 -08:00
James R. Barlow
0360f078de
get_postscript_icc_path: don't check the same path multiple times
2016-02-29 12:45:58 -08:00
James R. Barlow
1731ce2a44
Environment variables can now override default programs
2015-12-17 09:05:10 -08:00
James R. Barlow
80d89b5420
Set /Creator metadata to OCRmyPDF
...
with reference to Tess version and settings
2015-12-02 02:19:39 -08:00
James R. Barlow
c6d106ec33
Throw exception if iccprofiles not found instead of returning None
...
So far iccprofiles were only missing for a user who had a custom and
possibly broken ghostscript installation.
2015-08-28 03:59:35 -07:00
James R. Barlow
6a160d22fe
Update release notes, add copyrights
2015-07-28 04:36:58 -07:00
James R. Barlow
8aced0b6d3
More testing: JPEG
2015-07-27 00:25:43 -07:00
Jim Barlow
9adb0d696f
Prepare for Python packaging - move to ocrmypdf folder
2015-07-25 18:22:04 -07:00