James R. Barlow
57771f06a3
Refactor xy-pair for resolution to tuple
2020-04-16 15:38:33 -07:00
James R. Barlow
4581027246
Drop support for pdfminer.six 20181108
...
This version required a patch that has since been mainlined, and also did not
declare its dependency on chardet
correctly. We can remove both hacks now.
2020-04-15 02:50:36 -07:00
James R. Barlow
31b5f63f85
hocrtransform: cleanup/PEP8
...
Some API breaking changes.
2020-04-15 02:48:56 -07:00
James R. Barlow
957fb1494e
pytest picky about list vs tuple
2020-04-15 02:26:20 -07:00
James R. Barlow
9e3e4f2687
Improve help text about aborting due to text
2020-04-15 02:17:55 -07:00
James R. Barlow
2155bcacb4
Loosen test language requirements - eng/deu
2020-04-15 00:30:38 -07:00
James R. Barlow
346da95899
Suppress loglevel since we have color now
2020-04-15 00:09:36 -07:00
James R. Barlow
f4f7946a0c
Add colored logs
2020-04-15 00:05:38 -07:00
James R. Barlow
c2919f2e1c
Reinstate logging of page numbers
2020-04-15 00:05:23 -07:00
James R. Barlow
a63d624052
Improve logging of subprocess output
2020-04-15 00:04:43 -07:00
James R. Barlow
af91489376
Remove safe_symlink log= warning
2020-04-14 23:59:33 -07:00
James R. Barlow
d146d2b65c
The Great Logging Refactor
...
Remove all instances of logger object being passed as parameters.
This was a holdover from ruffus, and complicated a lot of simple things.
2020-04-14 23:59:33 -07:00
James R. Barlow
4ff4ed24a8
Refactor Windows executable shims
2020-04-14 23:59:33 -07:00
James R. Barlow
c38ff90081
Merge branch 'master' of github.com:jbarlow83/OCRmyPDF
2020-04-14 23:55:01 -07:00
James R. Barlow
4c029e973f
Fix isinstance(..,str)
2020-04-14 23:53:52 -07:00
Lars K.W. Gohlke and GitHub
21cf9029e8
docs: Set ownership when using docker image ( #518 )
2020-04-14 23:32:01 -07:00
James R. Barlow
4a640b8dcd
Fix language argument not working as list
...
Fixes #523
2020-04-14 23:18:52 -07:00
James R. Barlow
9471bc8921
Fix versions with leading v, e.g. v5.0
v9.7.1
2020-04-10 13:42:33 -07:00
James R. Barlow
7fe06c64fc
v9.7.1 release notes
2020-04-10 13:00:19 -07:00
James R. Barlow
d13d70fd56
Fix version checker failing for qpdf 10.0.0
...
Fixes #527
2020-04-10 13:00:19 -07:00
James R. Barlow
58ec56180a
Add a few more type annotations to public APIs
2020-04-10 13:00:19 -07:00
James R. Barlow
32a88f1bad
docs: warn that AWS Lambda doesn't work
2020-04-10 13:00:19 -07:00
James R. Barlow
99ef42940c
docs: warn that Windows users should use an ifmain guard
2020-04-10 13:00:19 -07:00
jbarlow83 and GitHub
c152710617
Update issue templates
2020-04-04 15:41:53 -07:00
James R. Barlow
8de0f9b86f
v9.7.0 release notes
v9.7.0
2020-03-29 22:45:25 -07:00
James R. Barlow
23bc3d3a29
tests: workaround for Ghostscript 9.52 txtwrite problem
2020-03-29 22:45:16 -07:00
James R. Barlow
8307832ce9
tests: add force OCR to a file with text that Ghostscript doesn't see
...
For gs 9.52 support.
Also refactor use of pikepdf.open() to use with blocks.
2020-03-29 22:44:27 -07:00
James R. Barlow
dd1cf567db
watcher: Fix JSONDecodeError if OCR_JSON_SETTINGS not set
...
Fixes #516
2020-03-29 21:58:37 -07:00
James R. Barlow
2490be8490
Fix debug.log not being deleted on Windows (probably)
...
Fixes #515
2020-03-29 21:53:56 -07:00
James R. Barlow
85e6c6669a
docs: Add username to WSL instructions
...
Fixes #519
2020-03-29 21:16:24 -07:00
James R. Barlow
00498282f5
validation: blacklist Ghostscript 9.51 too
2020-03-24 21:27:18 -07:00
James R. Barlow
e4cc9fcba7
Wrong number of threads to use shown when OMP_THREAD_LIMIT is defined
2020-03-23 01:06:55 -07:00
James R. Barlow
a4555b1dae
Add halftone mask to leptonica
2020-03-18 23:09:39 -07:00
James R. Barlow
f35a2303bb
info.py: linearize O(n^2) search for use images on a page
2020-03-18 22:59:18 -07:00
James R. Barlow
82142fe5ef
Merge branch 'master' of github.com:jbarlow83/OCRmyPDF
2020-03-16 04:11:03 -07:00
James R. Barlow
9be533b5f4
watcher: allow all parameters to ocrmypdf.pdf to be passed by JSON
2020-03-15 21:45:51 -07:00
James R. Barlow
99653fcd32
optimize: consider ICCBased 1 bit for optimization
2020-03-15 02:20:44 -07:00
James R. Barlow
5442c97ed8
Consult ICC profile when determining image colorspace
2020-03-11 04:03:09 -07:00
tlwhitec and GitHub
0165255bd9
fix install instructions for Ubunti 16.04 ( #507 )
...
`pip3` defaults to the system's outdated version which downloads wrong qpdf package.
2020-03-11 02:57:37 -07:00
James R. Barlow
378e4dae3b
Expand documentation for subprocess.run() from test
2020-03-04 13:37:44 -08:00
James R. Barlow
cdf5afa753
reqs: update pikepdf version
2020-03-03 11:56:10 -08:00
James R. Barlow
a2deee4920
v9.6.1 release notes
v9.6.1
2020-03-03 03:40:33 -08:00
James R. Barlow
1efa79cce2
Remove potentially non-free file logo.afdesign
2020-03-03 03:40:33 -08:00
James R. Barlow
b3b61c152c
Handle malformed DocumentInfo ( #497 )
...
User submitted a PDF in which /Trailer /Info pointed to the XMP metadata
block instead of a DocumentInfo dictionary. Fix and add test.
2020-03-03 03:27:01 -08:00
James R. Barlow
e429c3d729
docs: install cleanup
2020-03-03 03:25:43 -08:00
James R. Barlow
8308b20096
Merge branch 'master' of github.com:jbarlow83/OCRmyPDF
2020-03-03 02:25:58 -08:00
James R. Barlow
8b41f60b6e
docs: docker prefers .yml not .yaml
2020-03-03 02:25:21 -08:00
Alex and GitHub
d56f749017
Improve ocrmypdf.bash completions on macOS ( #504 )
...
Fixes #502
2020-03-03 02:22:01 -08:00
James R. Barlow
9f31774aa9
docs: document --pages
2020-03-03 02:15:48 -08:00
James R. Barlow
7d55f6e01f
docs: extract example files from batch.rst
2020-03-03 02:15:35 -08:00