update k2pdfopt to version 1.65 & avoid resampling in most case
probe scale magnitude to 2
Merge pull request #7 from chrox/kopt_opt

update k2pdfopt to version 1.65 & avoid resampling in most case
add auto page crop
Merge pull request #8 from chrox/auto_crop

add auto page crop
Hyphenation methods

3 new methods 
a) to read the list of hyph. dictionaries
b) to read current active dictionary
c) to set new active dictionary
Merge pull request #9 from NuPogodi/master

Hyphenation methods
include locale header file to silence the compiler's complain
update libk2pdfopt for new koptcontext
update libk2pdfopt: add top and bottom margin in reflowed page
Merge pull request #10 from chrox/kctx_fix

update libk2pdfopt for new koptcontext
add OCR in koptcontext
add ocr_type parameter
makefile tweak to configure leptonica and tesseract
Merge pull request #11 from chrox/tess_ocr

add OCR in koptcontext
Only download tarballs when it do not exists;fix build error with automake 1.13
Merge pull request #12 from YangtseSu/yangtse

Only download tarballs when it do not exists;fix build error with automa...
move ocr api to koptocr module in libk2pdfopt
Merge pull request #13 from chrox/ocr_fix

move ocr api to koptocr module in libk2pdfopt
init/free OCR engine when necessary other than in each OCR process