James R. Barlow
019513696b
Ghostscript spoof scripts did not report their --version correctly
v5.5
2018-01-10 17:08:14 -08:00
James R. Barlow
ad7a4476db
hugemono.pdf needs --max-image-mpixels to pass with Pillow 5.0
2018-01-10 16:55:18 -08:00
James R. Barlow
4812b20fb2
Fix tesseract_noop.py generating wrong size of output PDF in tests
...
This caused trouble before with test_deskew
2018-01-10 16:35:31 -08:00
James R. Barlow
f5e07c9427
Fix Ghostscript parameter order
2018-01-10 16:33:26 -08:00
James R. Barlow
75dcb90621
Niceties: when environment variable overload is used clarify we're not checking the PATH
2018-01-10 16:33:03 -08:00
James R. Barlow
dfc0434cc2
Update requirements to set Pillow to 5.0
2018-01-10 15:45:23 -08:00
James R. Barlow
882fc2257c
Add --max-image-mpixels argument to support Pillow 5.0
2018-01-10 15:43:59 -08:00
James R. Barlow
41e83b52fc
Document process for redoing OCR
2018-01-10 15:39:58 -08:00
James R. Barlow
47758b4d8f
Reactivate autobrew
2018-01-10 15:39:36 -08:00
James R. Barlow
6bf1f970a0
Fix some parameter validation for --output-type pdfa-1 and pdfa-2
2018-01-10 11:50:08 -08:00
James R. Barlow
7d451f101f
Detect old versions of Ghostscript and warn about them ( #208 )
2018-01-10 11:47:39 -08:00
James R. Barlow
7edbfe0e40
Update autobrew template
2018-01-09 12:36:14 -08:00
James R. Barlow
91b42cbfa8
Fix issue in sandwich renderer when skipping OCR on a rotated and deskewed page
...
If OCR is skipped due to --tesseract-timeout or similar, and the skip page is rotated with /Rotate, and the skip page was deskewed or had other image processing, then the skip page was created with the wrong dimensions causing the output page to be cropped.
2018-01-09 00:17:53 -08:00
James R. Barlow
6907df41b4
Disable autobrew until homebrew accepts the official release
2018-01-08 23:26:58 -08:00
James R. Barlow
2cebd90cbd
Fix brew audit --strict warnings
2017-12-09 12:14:28 -08:00
James R. Barlow
376a121aaa
Re-enable macos
v5.4.4
2017-11-29 15:06:19 -08:00
James R. Barlow
da11fd17ee
qpdf dummy: needs to return version now
2017-11-29 14:35:37 -08:00
James R. Barlow
a40689a0ff
tesseract: handle return of bytes properly in error cases
2017-11-29 14:35:26 -08:00
James R. Barlow
44a45fc3fb
Add "bad UTF8 output from Tesseract" test
2017-11-29 14:08:07 -08:00
James R. Barlow
ec4bb5359a
Read tesseract's output as binary to avoid UnicodeDecodeErrors if it messes up
2017-11-29 13:44:40 -08:00
James R. Barlow
d2217632df
Rename _verify_python3_env
2017-11-29 13:43:18 -08:00
James R. Barlow
2cc044feed
Move qpdf complaint to after options checking so that it won't break ocrmypdf --version
2017-11-29 13:42:55 -08:00
James R. Barlow
64fd0cb54f
Remove test_qpdf.py only from travis
2017-11-29 12:54:48 -08:00
James R. Barlow
c5a1d22e81
That fixed it. Complain about old versions of qpdf now
2017-11-29 12:53:34 -08:00
James R. Barlow
a7b307af04
Looks like issue was negzero.pdf with qpdf 5.1.1 on travis, which is why osx passes
...
Reorganize and see if this is better now
2017-11-29 12:47:09 -08:00
James R. Barlow
3269eba16c
Is it negzero.pdf?
2017-11-29 12:02:37 -08:00
James R. Barlow
d472860e3b
Try to diagnose travis-only failure of qpdf test
2017-11-29 11:41:06 -08:00
James R. Barlow
731c9ea55e
Set timeouts on the tests that seem to be stalling on travis (but not elsewhere)
2017-11-27 14:46:10 -08:00
James R. Barlow
0b6af8d965
Clarify hocrtransform license/copyright
2017-11-27 13:41:46 -08:00
James R. Barlow
92ca9e954c
Fix test warning/failures, hopefully
2017-11-27 13:41:32 -08:00
James R. Barlow
67aa00e2c5
Remove py3.5 deprecation
...
It'll be in Debian stable for a long time, so maybe not such a good idea
2017-11-27 01:10:34 -08:00
James R. Barlow
a1bf161eb7
Update v5.4.4 release notes
2017-11-27 01:09:35 -08:00
James R. Barlow
56614fcaa4
Add support and tests for handling page count > ulimit - fixes issue #181
2017-11-27 00:32:35 -08:00
James R. Barlow
4d9169e15f
Add merge ulimit test case
2017-11-26 23:34:36 -08:00
James R. Barlow
3a167af2c4
Nearly smallest possible PDF-1.3 with all required fields
2017-11-26 23:32:21 -08:00
James R. Barlow
64b9005030
v5.4.4 release notes; mention deprecation of 3.5
2017-11-26 23:08:55 -08:00
James R. Barlow
965de3a235
Test case for issue #200
2017-11-26 22:52:53 -08:00
James R. Barlow
2040ae4856
Fix issue #200 , uncommon but valid decimal syntax treated as error
...
Also replace check_output() calls with run() in qpdf.py
2017-11-26 22:52:43 -08:00
James R. Barlow
31a1f9f5ea
pytest-runner should be a setup requirement
2017-11-26 22:51:51 -08:00
James R. Barlow
7eadd82048
Update docker script based on uid issue
...
issue #180 , fix reported by @Atredis76
2017-11-26 15:11:17 -08:00
James R. Barlow
31d0eaac8e
Ensure intermediate metadata holder PDF has same version as its input file
...
While not known to cause problems, the absence of this could confuse parsers
2017-11-24 00:09:13 -08:00
James R. Barlow
f45d012635
Update docs: security, pip install --user
2017-11-21 16:50:14 -08:00
James R. Barlow
5a777ee9bc
v5.4.3 release notes
v5.4.3
2017-11-17 02:28:02 -08:00
James R. Barlow
7bbf6bc7f4
Travis didn't like LANG, use LC_ALL
2017-11-16 20:37:30 -08:00
James R. Barlow
9bfc45702d
Update copyright in license
2017-11-16 17:18:29 -08:00
James R. Barlow
40aa82ab41
Check that the locale is sane before allowing OCR to proceed
2017-11-16 17:18:02 -08:00
James R. Barlow
5d2c67c62b
Declare in yet another place that this shouldn't run on py2
2017-11-16 14:54:28 -08:00
James R. Barlow
a00ef4836d
autobrew: declare conflict with mactex
...
As reported in https://github.com/jbarlow83/homebrew-ocrmypdf/issues/4#issuecomment-345029899
2017-11-16 14:53:42 -08:00
James R. Barlow
3ef766bb93
Remove bare 'except:'
2017-11-01 01:52:13 -07:00
James R. Barlow
44b5a18462
Declare our __version__ properly
2017-11-01 01:49:51 -07:00