hwhw/kindlepdfviewer — pull request #544 by chrox (2012-11-05 16:05:13+00:00)
Title: update K2pdfopt to the latest version 1.60

New features:
- Add new option to specify trimming or no trimming of excess white space. This is the feature we were expecting on issue #509. @dracodoc
- Add new option to set render quality
- Add new option to set defect size in scanned pages

Bugfixes (from upstream):
- Fixed bmpregion_find_vertical_breaks() bug where it wasn't always correctly interpreting the last section of a region.
- Eliminated divide by zero issue in bmpregion_is_clear() when gt_in gets too small.
- Adjusted critierion for too thick / too thin hyphen in bmpregion_hyphen_detect() to be more correct and to allow for slightly thinner hyphens.

Cleanup:
- Use koptcontext to keep dozons of parameters for k2pdfopt