James R. Barlow
fae2119b1e
v4.5.6 release notes
v4.5.6
2017-05-01 15:55:02 -07:00
James R. Barlow
aa859a4139
Fix #156 - NoneType has no ‘getObject’ for pages with no /Contents
2017-05-01 15:46:15 -07:00
James R. Barlow
b9b12e2879
Ensure that ocrmypdf stops and reports an error if Ghostscript fails
...
Past behavior was to continue and let ruffus puke eventually
2017-05-01 15:44:21 -07:00
James R. Barlow
cf643c9f43
Fix argparse.ArgumentError needs two positional args
2017-05-01 14:55:47 -07:00
James R. Barlow
5b1a7880a9
Switch to Travis triggering Docker build to skip race condition with PyPI
2017-04-28 17:18:01 -07:00
James R. Barlow
474b6b0500
v4.5.5 release notes
v4.5.5
2017-04-28 15:27:41 -07:00
James R. Barlow
6c8c1d8173
Fix #154 : KeyError ‘/Contents’ on blank pages with /Contents record
2017-04-28 15:22:05 -07:00
James R. Barlow
6a91fa637f
Squash merge improvements to auto-homebrewing macOS version
2017-04-28 15:17:38 -07:00
Jakub Wilk
2846fb4e31
Remove misplaced flags from re.sub() call ( #153 )
...
The 4th argument of re.sub() is maximum number of substitutions,
not flags.
Moreover, re.MULTILINE affects only semantics of ^ and $,
so it wouldn't have any effect on this regular expression.
2017-04-20 00:38:23 -07:00
James R. Barlow
a1033cdc64
osx_brew: show output before letting “brew audit” check it
v4.5.4
2017-04-18 23:38:07 -07:00
James R. Barlow
204336e1a5
Move release notes into the rest of documentation
2017-04-18 18:26:31 -07:00
James R. Barlow
8954e6c3b9
v4.5.4 Update release notes
2017-04-18 18:09:15 -07:00
James R. Barlow
fee22b6b0b
Fix #151 , cannot write mode P as JPEG
...
all(<empty generator>) is True.
2017-04-18 18:08:45 -07:00
James R. Barlow
2b82c31b85
Update documentation
2017-04-18 18:07:19 -07:00
James R. Barlow
9a4813089c
autobrew: remove homebrew dependency “zlib”, causes audit failure
2017-04-18 15:28:30 -07:00
James R. Barlow
554fcc8b9d
Add test case for #152
2017-04-18 15:20:25 -07:00
Tom
345256ee99
Fix --skip-big when there are no images in pdf ( #152 )
...
* fixed skip-big when there are no images in pdf
* added only_text pdf
* updated only_text pdf
* Delete only_text.pdf
2017-04-18 15:19:24 -07:00
James R. Barlow
58d1042147
v4.5.3 release notes update
v4.5.3
2017-03-29 23:50:31 -07:00
James R. Barlow
7b7e3a3e03
Enable lossless reconstruction for —pdf-renderer tess4 where appropriate
2017-03-29 23:44:12 -07:00
James R. Barlow
1e7fbd4202
Fix issues with —pdf-renderer tess4 page skipping
...
If tess4 renderer needed to skip OCR on a page it would end up
duplicating the page contents onto the new page, rather than creating
a blank OCR layer and placing it on the output page. This created
duplicated content in output files.
2017-03-29 23:43:26 -07:00
James R. Barlow
6e907856f2
Refresh requirements
2017-03-29 18:15:29 -07:00
James R. Barlow
8bc6019172
Begin adding new option to redo ocr
2017-03-29 18:15:20 -07:00
James R. Barlow
059f79242e
Phase out subprocess.Popen
2017-03-29 18:15:02 -07:00
James R. Barlow
89599b4812
Drop Python 3.4 compatibility
2017-03-29 15:46:53 -07:00
James R. Barlow
a9f4047a97
Remove backward compatible API deprecations from v4.x
2017-03-29 15:42:54 -07:00
James R. Barlow
23227ae763
Deprecate old files
2017-03-29 15:41:52 -07:00
James R. Barlow
4a9e9e9db2
v4.5.3 release notes
2017-03-29 13:19:34 -07:00
James R. Barlow
88ef2718f1
Reject high Unicode metadata at command line
...
Ghostscript 9.21 does not seem to accept Unicode above U+FFFF. Previous
versions did, but it now exits with a rangecheck error (-15).
Reject on the command line for now. Complete fix would also need to
check input PDF’s metadata.
2017-03-28 11:08:38 -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
2954e72652
Some examples of Ghostscript and Tesseract warnings/errors were not tagged properly
2017-03-28 10:59:53 -07:00
James R. Barlow
199de96cff
Ghostcript 9.21 seems to have a regression related to Unicode metadata
v4.5.2
2017-03-24 15:15:46 -07:00
James R. Barlow
8ddbe81513
Fix issue #147 : unpaper loses DPI information, affects —pdf-renderer tess4
2017-03-24 13:23:03 -07:00
James R. Barlow
a3e26e0498
Make —pdf-renderer tess4 more informative, less FUD
2017-03-24 12:58:40 -07:00
James R. Barlow
4ad129d8d8
docs: Don't recommend system-site-packages anymore (Ubuntu 16.04)
...
Not needed since reportlab 3.4 comes with a wheel, and that was the main difficulty.
2017-03-23 08:13:28 -07:00
James R. Barlow
dfb9fa0736
autobrew: missing deps
2017-03-16 00:18:07 -07:00
James R. Barlow
eb036898e9
Update documentation with macOS homebrew tap
...
[ci skip]
2017-03-13 22:25:25 -07:00
James R. Barlow
7c6aa76a2a
Fix brew audit failure
2017-03-13 17:58:31 -07:00
James R. Barlow
f035cb1088
Fixed issue #142 — closed streams raise an exception on fork attempt
2017-03-13 15:52:57 -07:00
James R. Barlow
35162166c5
Fix UnboundLocalError in autobrew.py
2017-03-13 15:51:39 -07:00
James R. Barlow
107f6abcb1
Fix autobrew build issues - missing deps
2017-03-12 17:07:38 -07:00
James R. Barlow
760a939e7d
Further autobrew tweaks
2017-03-11 17:05:26 -08:00
James R. Barlow
72660d0dec
MacOS skip the one test that needs poppler, to save installing poppler
2017-03-11 17:03:26 -08:00
James R. Barlow
8444a8f211
before_deploy doesn’t run unless something is going to be deployed
2017-03-11 17:03:20 -08:00
James R. Barlow
4a1fec8328
Improvements to macOS test and work on homebrew tap autobrew
...
Squashed commits:
[3f06c1e] Try setting up homebrew tap autobuilding
[01532f1] Strict mode error in brew
2017-03-11 17:00:54 -08:00
James R. Barlow
42547f6017
Revert "Finalize Dockerfile move; unfortunately not supported by Docker Hub"
...
Unfortunately because of this issue
https://github.com/docker/hub-feedback/issues/292
Docker Hub effectively automatically changes directory to the location
of Dockerfile, meaning needed files are not in the right places, so
this has to be reverted.
This reverts commit 65c9a07ddedb021b317383cfc1d8dc156869c92b.
[ci skip]
2017-03-10 22:49:08 -08:00
James R. Barlow
0ccf564f03
Revert "Move Dockerfiles out of root"
...
This reverts commit 3d3b3abc1bccf05eefb656309543312c19e3fb47.
2017-03-10 22:46:03 -08:00
James R. Barlow
65c9a07dde
Finalize Dockerfile move; unfortunately not supported by Docker Hub
...
Unfortunately because of this issue
https://github.com/docker/hub-feedback/issues/292
Docker Hub effectively automatically changes directory to the location
of Dockerfile, meaning needed files are not in the right places, so
this has to be reverted.
2017-03-10 22:45:31 -08:00
James R. Barlow
4700a19322
Move pipeline.svg out of root
2017-03-10 17:18:38 -08:00
James R. Barlow
3d3b3abc1b
Move Dockerfiles out of root
2017-03-10 17:17:36 -08:00