Commit Graph

123 Commits (3934176b6c72c267e4a558099f4c9dacb8a318b4)

Author SHA1 Message Date
chrox 4660a3532b synchronize hightlights in non-/reflowing modes
and there is no need to OCR word if we can extract text from
original page in reflowing mode thanks to the rect maps between
normal page and reflowed page.
11 years ago
chrox ffd31613a5 estimate cache size of koptcontext
This should fix #285.
11 years ago
chrox f2cf10a015 refactoring koptcontext creation function 11 years ago
Qingping Hou a8a589c27b only set two pages mode for crengine in kindle dxg 11 years ago
chrox aefb58f5bf bugfix: fix invalid auto page cropping 11 years ago
chrox 1808c7e5c3 add document language option in config dialog
Document language setting is used for better text extraction and OCR.
11 years ago
chrox 2e5d2b9930 add semi-auto bbox option in page crop dialog 11 years ago
{Qingping,Dave} Hou c423c031b3 Merge pull request #146 from chrox/master
semi-automatic bbox finding
11 years ago
chrox 9cb9999865 semi-automatic bbox finding
Semi-automatic cropping is implemented with a initial
manual cropping that exclude the obvious decorating line or
the spine part in scanned books and then an automatic cropping
ie. background/foreground pixel detection restricted within
the manual cropping area.
This PR is a candidate for the solution of issue #141.
11 years ago
Giorgio Micotti 98a2e50652 Add cbz to the supported extensions of pdf viewer. 11 years ago
Deyuan Deng 9528f4a95b when open document, check if provider is nil 11 years ago
Qingping Hou 18122fe067 add defaults.lua 11 years ago
chrox 94526fa26d add page margin options in CREOptions 11 years ago
chrox 7c78e83e49 add hightlight/dictionary lookup in scanned pdf/djvu 11 years ago
chrox cb873ee528 init/free OCR engine when necessary 11 years ago
chrox 1a8bd4ca8c try to drop cache before OCR 11 years ago
chrox 936dfc6fd1 add text highlight in both reflow and non-reflow mode 11 years ago
Qingping Hou 1783b16d69 credoc fix: load metadata info after document is rendered 11 years ago
chrox ac548d768c don't bother to consume background context
since now each context is independent and has its own dst bitmap.
11 years ago
chrox fb05f9a428 add auto page crop 11 years ago
chrox 22b650d0c7 move kopt/cre options into ui/data directory & wrap strings in config options 11 years ago
Qingping Hou 09e1c0af06 add gettext to document modules 11 years ago
Qingping Hou f12ff20c37 discard bbox with zero area 11 years ago
chrox b2c23c6f4f cleanup: use lowercase option name && better reflow for vertical text 11 years ago
chrox 607c4baf2e add fine tuning of font size in koptinterface 11 years ago
Qingping Hou c5ff50abdf remove trailing spaces 11 years ago
chrox ef68ccebfe add background hinting in koptinterface 11 years ago
chrox 591a27ddfe log reflow duration for benchmarking 11 years ago
chrox a2dc5e00a2 bugfix: reset page scroll states when switching reflow on/off 11 years ago
chrox 63e5e7e577 add scroll mode for pdf/djvu reader 11 years ago
chrox 6561475cf7 return bbox immediately to save several CPU cycles 11 years ago
chrox 8c01b59776 clamp used bbox to page dimension 11 years ago
chrox 87eec1b539 save/restore view mode and embedded css mode 11 years ago
chrox 4c1fc6be5c make larger default page margin 11 years ago
chrox 86a65003d1 set manual cropping if bbox exists 11 years ago
chrox c5b4d958bb add reading progress bar at the bottom of ReaderView for pdf/djvu reader
And there is also a toggle full screen option to turn on/off the progress bar.
11 years ago
chrox 14bcec4b81 remove arguments of RestoreZoomMode events defined in KoptOptions
Now zoom mode restoration is handled by ReaderKoptListener
11 years ago
chrox 9efdefb22f add gamma correction for pdf/djvu reader 11 years ago
chrox df7f7714e4 remove default options in KoptOptions and CreOptions 11 years ago
{Qingping,Dave} Hou e6e561ce52 Merge pull request #760 from chrox/restore_zoom_mode
restore zoom mode when toggling reflow on/off
11 years ago
chrox 666bb3d8ae restore zoom mode when toggling reflow on/off 11 years ago
chrox 78f8ca9029 cleanup: remove debug info on bbox 11 years ago
Qingping Hou f3452234ea add math.lua, move all math related helpers in to it 11 years ago
chrox c53f866a93 cleanup: use screen size in page hash explicitly 11 years ago
chrox 7af80f63f6 check screen mode in koptinterface 11 years ago
chrox 1f511757c5 bugfix: calculate current config value or arg at runtime 11 years ago
{Qingping,Dave} Hou 85b4d60efc Merge pull request #735 from chrox/ui-tweaks
set menu font size according to screen dpi
11 years ago
chrox 21c972a786 hide DPI dependency in Font module 11 years ago
Qingping Hou ae6c4bd03a Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into rotate
Conflicts:
	frontend/ui/reader/readerconfig.lua
11 years ago
chrox 0ed5d05bc0 hash current bbox explicitly 11 years ago