fritz-hh
635358884e
start rewrite ocrmypdf in python
2014-10-09 22:53:08 +02:00
fritz-hh
5b17341804
Merge remote-tracking branch 'origin/v2.x' into v3.x
2014-10-07 22:06:05 +02:00
fritz-hh
9bedfa9a72
fixes #95
...
Exit if the output path points to a folder
Exit if the output path point to an existing file
2014-10-07 16:42:10 +02:00
fritz-hh
e1f1220970
make clear it is a draft from v3.x branch
2014-10-03 16:23:02 +02:00
fritz-hh
5855bcd1fe
Merge remote-tracking branch 'origin/v2.x' into v3.x
2014-10-03 16:21:49 +02:00
fritz-hh
a14af5b9ee
make clear it is a draft from v2.x branch
2014-10-03 16:18:20 +02:00
fritz-hh
f11c03750e
typo
2014-10-03 16:16:17 +02:00
fritz-hh
ea5cfa40c1
Update ROADMAP.md
2014-10-03 16:13:56 +02:00
fritz-hh
c562754d81
typo
2014-10-03 16:11:26 +02:00
fritz-hh
90d892512a
roadmap usage updated
2014-10-03 16:09:59 +02:00
fritz-hh
9c6fedb15b
usage corrected [-f|-s]
2014-10-03 16:07:06 +02:00
fritz-hh
3a7175115f
roadmap arguments specified
2014-10-03 16:03:02 +02:00
fritz-hh
98c41f3223
typo in usage
2014-10-03 15:44:14 +02:00
fritz-hh
d101e96e16
roadmap: better layout
2014-10-03 15:30:29 +02:00
fritz-hh
a446b6c440
roadmap rename steps
2014-10-03 15:19:20 +02:00
fritz-hh
b1fec0f1b1
roadmap detailed
2014-10-03 15:17:53 +02:00
fritz-hh
1dfdc93745
draft roadmap for v3.x
2014-10-03 15:02:17 +02:00
fritz-hh
6c5ee4095c
default language now set in the config.sh file
2014-09-30 23:28:22 +02:00
fritz-hh
986fbf63a4
Introduce -s option + fix bug when -C no set
...
- Introduce -s option to no ocr pages containing fonts
- Solve issue with -f and -s if -C is not set
2014-09-30 23:16:31 +02:00
fritz-hh
2612105d32
correct download path
2014-09-29 22:29:25 +02:00
fritz-hh
954fe13f54
update release notes for v2.2-stable
2014-09-29 22:25:02 +02:00
fritz-hh
bb5a00685e
Make clear this is a draft
2014-09-28 21:10:04 +02:00
fritz-hh
5f173e5acb
return right return code
...
Python does not map the expression to its return code automatically, so
this line returns success regardless of the reportlab version installed.
(I also realized that hasattr is superfluous).
2014-09-27 00:53:10 +02:00
fritz-hh
b28ff40aea
remove reportlab patch. fixes #91
...
remove patch that was required for versions of reportlab <3.0 (fixed in
3.0 now)
patch was necessary in order to reduce size of graysclage / b&w images
in pdf
2014-09-26 23:58:19 +02:00
fritz-hh
2ed2307573
Merge pull request #89 from jbarlow83/feature/readlink-osx
...
More portable solution (works also on OS X) to get OCRmyPDF.sh path (following simlinks)
2014-09-25 23:09:26 +02:00
fritz-hh
1a13b7c85f
Check if the input file exist
...
Previously I checked only if the folder in which the input file should
be exists
2014-09-25 22:03:45 +02:00
fritz-hh
d510e7e4ae
prevent new spurious jhove message to be displayed
2014-09-24 23:43:37 +02:00
fritz-hh
5893290dd9
update to jhove v1.11
2014-09-24 23:17:39 +02:00
fritz-hh
5c3bbc4031
typo in OCRmyPDF.sh
2014-09-22 21:22:38 +02:00
fritz-hh
27cd8cf0db
add link to heise open source
2014-09-20 20:47:02 +02:00
fritz-hh
b403016d5b
Release notes updated for v2.1-stable
2014-09-20 19:50:32 +02:00
fritz-hh
5a81823969
Merge pull request #82 from orbitcowboy/v2.x
...
Fixed typo
2014-09-20 19:02:33 +02:00
fritz-hh
17801401cd
Merge pull request #83 from DorianScholz/v2.x
...
- small changes to make this work on Ubuntu 12.04 called via symlink
- lowered minimum parallel version
2014-09-20 18:59:57 +02:00
fritz-hh
8bb9c3610c
Merge pull request #81 from MoritzFago/v2.x
...
fixed tipo ghostcript to ghostscript
2014-09-08 18:31:00 +02:00
fritz-hh
b71fc807d2
Merge pull request #77 from andysigner/v2.x
...
Fixed typo in help text
2014-05-23 19:51:20 +02:00
fritz-hh
e083a860e9
Merge pull request #73 from andreas-christ/v2.x
...
Fixed typo in import of reportlab.
2014-04-27 23:20:48 +02:00
fritz-hh
c873de6ca4
Consider that the hocr file has not always the same name
...
Closes #72
2014-04-27 16:01:11 +02:00
fritz-hh
b70863b47e
support both older and newer versions of reportlab
...
closes #71
2014-04-27 15:53:20 +02:00
fritz-hh
3546f84c6d
ignore *.pyc files
2014-04-27 15:46:55 +02:00
fritz-hh
1c34fd69cf
RELEASE_NOTES update prior delivery of v2.0-stable
2014-01-25 22:14:05 +01:00
fritz-hh
4cf38404cc
fixes #51
...
Allow tesseract 3.02.01 to be used.
Even 3.02.01 fails in few cases (see issue #28 ). I decided to allow this
version anyway because 3.02.02 is not yet available for some widespread
linux distributions
2014-01-25 21:58:50 +01:00
fritz-hh
be830ddc31
List supported languages
...
In case lan is not supported, list the supported languages in the error
message
2014-01-18 22:22:19 +01:00
fritz-hh
18322b424f
fixes #60
...
Check if the languages option provided to tesseract (-l) are supported
2014-01-18 21:38:22 +01:00
fritz-hh
6901c60db4
more robust way to check tesseract version
...
better way of checking if the tesseract version is compatible with the
script.
If the required tess version is 3.02.02, and the actual version is 3.03,
the script would have told before that the version is too old, because
303<30202, now it compares 3.03>3.0202
2014-01-18 21:02:15 +01:00
fritz-hh
e369ce6766
config file: version updated to v2.0-rc2
2014-01-16 21:22:24 +01:00
fritz-hh
64e4e5d91e
release notes updated for v2.0-rc2
2014-01-16 21:19:15 +01:00
fritz-hh
efce7de9ae
wording corrected
2014-01-15 23:08:26 +01:00
fritz-hh
38c64ac689
dependency to pdftk removed
...
concatenation is now done also with ghostscript
2014-01-15 21:23:42 +01:00
fritz-hh
6d203e3eee
portability improvements + minor changes
2014-01-15 21:23:41 +01:00
fritz-hh
81f461e557
disclaimer added
2014-01-14 23:46:33 +01:00
fritz-hh
988bde1387
tmpfiles to $TMPDIR + better portability (mktemp)
...
mktemp: consider both FreeBSD/OSX and Linux OS having incompatible
syntax
From now on temporary files are saved in the folder specified by the
environment variable $TMPDIR
2014-01-14 22:57:10 +01:00
fritz-hh
aedbabdbe8
merged pull request from oxplot
2014-01-14 22:29:41 +01:00
fritz-hh
6ed53e53c7
Readme improved
2014-01-14 19:47:28 +01:00
fritz-hh
e40f1fa081
better handling of ligatures: fixes #58
2014-01-13 23:13:15 +01:00
fritz-hh
a872ce751d
config file restructured
...
to be make which parameters are allowed to be changed by the user
2014-01-13 22:11:28 +01:00
fritz-hh
317846fbdc
Check of tmp folder creation was successful
2014-01-13 22:05:26 +01:00
fritz-hh
f581a55544
Merge pull request #57 from jbarlow83/for-upstream/tmpfolder
...
Fix temporary folder name generation collisions
2014-01-13 12:31:02 -08:00
fritz-hh
447b291e70
minor changes
2014-01-13 18:03:44 +01:00
fritz-hh
01d07253e8
indicate python2 to be used in header
2014-01-13 18:03:43 +01:00
fritz-hh
034a466094
Merge pull request #56 from jbarlow83/for-upstream/hocr-selfwidth
...
Fix AttributeError on self.width if Tesseract finds no OCR text
2014-01-13 08:44:16 -08:00
fritz-hh
c6211e2335
Merge pull request #55 from jbarlow83/for-upstream/check-poppler
...
Verify that pdftoppm is the Poppler version, not xpdf version
2014-01-13 08:42:33 -08:00
fritz-hh
bf02ee3bdc
Resolved conflits with jbarlow83 pull request
2014-01-12 15:37:14 +01:00
fritz-hh
a3c7fba02d
minor changes (comments)
2014-01-11 22:26:29 +01:00
fritz-hh
a8cd7febf6
remove spurious space in img number
...
Tell the script that "nbImg" is a number, so that leading/trailing
spaces are removed
2014-01-11 22:15:53 +01:00
fritz-hh
20c008b84f
avoid spurious error msg if no image in pdf
2014-01-11 22:05:19 +01:00
fritz-hh
7cd73566be
check if python libs are installed
...
Check if reportlab and lxml are installed, otherwise exist with an error
2014-01-11 17:08:26 +01:00
fritz-hh
e56fd53d06
poppler syntax (rather than xpdf syntax)
2014-01-11 16:19:52 +01:00
fritz-hh
810b1b3b3e
Merge pull request #48 from jbarlow83/for-upstream/osx-errors
...
Fix pdffonts error when filename contains a space
2014-01-11 07:10:12 -08:00
fritz-hh
cb0b033fe7
Merge branch 'v2.x' of https://github.com/fritz-hh/OCRmyPDF into v2.x
2014-01-11 15:52:01 +01:00
fritz-hh
46f673a3b7
exit if bad parallel/tesseract version installed
2014-01-10 22:59:33 +01:00
fritz-hh
455303b3d4
parallel version added in RELEASE_NOTES
2014-01-10 22:12:58 +01:00
fritz-hh
4e5e5bb925
version changed to v2.x
2014-01-08 20:57:55 +01:00
fritz-hh
3232ed8e38
link to releases updated
2014-01-08 20:56:34 +01:00
fritz-hh
29d6748af8
release_notes and readme updated for v2.0-rc1
2014-01-07 23:13:42 +01:00
fritz-hh
828f195071
erroneous exit code corrected
2014-01-07 21:57:18 +01:00
fritz-hh
b0b7e32783
fixes #40 and code cleanup
2014-01-07 21:51:15 +01:00
fritz-hh
c1103c0248
check tesseract version
...
fixes #41
versions older than 3.02.02 are known to produce invalid hocr output (in
some cases)
2014-01-07 21:04:28 +01:00
fritz-hh
940a016e95
link to issue tracking system added
2014-01-06 23:12:15 +01:00
fritz-hh
c6cc098e47
create symbolic links and not copy
...
If deskew and/or cleanup is not requested, do not copy the files, but
just create symbolic link.
This saves disk place and makes the script slightly quicker
2014-01-06 23:08:35 +01:00
fritz-hh
54f47ab89b
Minor change
2014-01-06 22:41:43 +01:00
fritz-hh
fc3de64dce
Changed debug page name
...
In order to have the debug page after the normal panel in the final PDF
file
2014-01-06 22:41:29 +01:00
fritz-hh
414c4e3f3c
round dpi value correctly
2014-01-06 22:32:11 +01:00
fritz-hh
6a9f38d31e
removed unused variables
2014-01-06 22:23:41 +01:00
fritz-hh
aa4256d35c
fixes #44
...
The x/y resolutions are not computed separately anymore.
We do not check anymore if x and y resolutions are different (not
measure could anyway be taken if they were not equal...)
2014-01-06 22:23:00 +01:00
fritz-hh
8a1241ba44
minor changes (indentation and fct name)
2014-01-06 22:05:49 +01:00
fritz-hh
7eab052e0f
Improved consistency of tmp file names
2014-01-06 22:00:58 +01:00
fritz-hh
552d19e36b
v1.1-stable added in release notes
2014-01-06 20:09:46 +01:00
fritz-hh
463b04e795
typo
2014-01-06 20:09:12 +01:00
fritz-hh
c0d8508264
minor change in log msg
2014-01-06 19:30:19 +01:00
fritz-hh
6ef4ba31e2
help and documentation improved
2014-01-05 22:02:12 +01:00
fritz-hh
10a3d26291
default PDI definition moved to cfg file
2014-01-05 22:01:45 +01:00
fritz-hh
ab994b32ee
explanations added for no_ligature cfg file
2014-01-05 22:01:10 +01:00
fritz-hh
9352b71d78
Copyright added
2014-01-05 22:00:12 +01:00
fritz-hh
71593421ed
minor change
2014-01-05 21:22:31 +01:00
fritz-hh
2754970f37
Echo arguments of script in debug mode
2014-01-04 21:43:41 +01:00
fritz-hh
5945454597
Support for -f option
...
Fixes #16
2014-01-04 21:24:33 +01:00
fritz-hh
884dbce712
copyright years updated
2014-01-04 21:20:29 +01:00
fritz-hh
8ee1bc6598
Minor change
2014-01-04 21:19:51 +01:00
fritz-hh
7d76c46731
Check if page already contains a font
2014-01-04 18:05:21 +01:00
fritz-hh
f8ccf42c06
path to tmp folder now defined in config.sh
2014-01-04 17:24:35 +01:00