2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

120 Commits

Author SHA1 Message Date
Qingping Hou
a8a589c27b only set two pages mode for crengine in kindle dxg 2013-07-28 02:35:46 -04:00
chrox
aefb58f5bf bugfix: fix invalid auto page cropping 2013-07-20 02:51:17 +08:00
chrox
1808c7e5c3 add document language option in config dialog
Document language setting is used for better text extraction and OCR.
2013-07-20 02:46:51 +08:00
chrox
2e5d2b9930 add semi-auto bbox option in page crop dialog 2013-07-13 11:18:49 +08:00
{Qingping,Dave} Hou
c423c031b3 Merge pull request #146 from chrox/master
semi-automatic bbox finding
2013-07-09 21:16:18 -07:00
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.
2013-07-09 19:15:45 +08:00
Giorgio Micotti
98a2e50652 Add cbz to the supported extensions of pdf viewer. 2013-07-09 12:32:21 +02:00
Deyuan Deng
9528f4a95b when open document, check if provider is nil 2013-07-08 23:17:06 -07:00
Qingping Hou
18122fe067 add defaults.lua 2013-07-01 02:41:33 -04:00
chrox
94526fa26d add page margin options in CREOptions 2013-06-28 17:12:04 +08:00
chrox
7c78e83e49 add hightlight/dictionary lookup in scanned pdf/djvu 2013-05-01 23:43:53 +08:00
chrox
cb873ee528 init/free OCR engine when necessary 2013-04-30 13:52:10 +08:00
chrox
1a8bd4ca8c try to drop cache before OCR 2013-04-27 17:48:59 +08:00
chrox
936dfc6fd1 add text highlight in both reflow and non-reflow mode 2013-04-24 06:59:52 +08:00
Qingping Hou
1783b16d69 credoc fix: load metadata info after document is rendered 2013-04-21 05:54:20 +08:00
chrox
ac548d768c don't bother to consume background context
since now each context is independent and has its own dst bitmap.
2013-04-20 16:12:43 +08:00
chrox
fb05f9a428 add auto page crop 2013-04-14 15:16:42 +08:00
chrox
22b650d0c7 move kopt/cre options into ui/data directory & wrap strings in config options 2013-04-08 22:26:54 +08:00
Qingping Hou
09e1c0af06 add gettext to document modules 2013-04-08 15:38:04 +08:00
Qingping Hou
f12ff20c37 discard bbox with zero area 2013-04-03 13:03:55 +08:00
chrox
b2c23c6f4f cleanup: use lowercase option name && better reflow for vertical text 2013-03-19 21:57:30 +08:00
chrox
607c4baf2e add fine tuning of font size in koptinterface 2013-03-19 21:36:11 +08:00
Qingping Hou
c5ff50abdf remove trailing spaces 2013-03-13 10:43:15 +08:00
chrox
ef68ccebfe add background hinting in koptinterface 2013-03-12 20:26:02 +08:00
chrox
591a27ddfe log reflow duration for benchmarking 2013-03-11 16:24:27 +08:00
chrox
a2dc5e00a2 bugfix: reset page scroll states when switching reflow on/off 2013-03-10 14:27:42 +08:00
chrox
63e5e7e577 add scroll mode for pdf/djvu reader 2013-03-10 14:23:26 +08:00
chrox
6561475cf7 return bbox immediately to save several CPU cycles 2013-03-10 13:15:00 +08:00
chrox
8c01b59776 clamp used bbox to page dimension 2013-03-05 16:50:04 +08:00
chrox
87eec1b539 save/restore view mode and embedded css mode 2013-03-04 23:23:37 +08:00
chrox
4c1fc6be5c make larger default page margin 2013-02-25 22:18:31 +08:00
chrox
86a65003d1 set manual cropping if bbox exists 2013-02-25 21:29:41 +08:00
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.
2013-02-24 02:25:57 +08:00
chrox
14bcec4b81 remove arguments of RestoreZoomMode events defined in KoptOptions
Now zoom mode restoration is handled by ReaderKoptListener
2013-02-20 19:29:14 +08:00
chrox
9efdefb22f add gamma correction for pdf/djvu reader 2013-02-20 14:32:51 +08:00
chrox
df7f7714e4 remove default options in KoptOptions and CreOptions 2013-02-20 13:01:52 +08:00
{Qingping,Dave} Hou
e6e561ce52 Merge pull request #760 from chrox/restore_zoom_mode
restore zoom mode when toggling reflow on/off
2013-02-19 07:11:20 -08:00
chrox
666bb3d8ae restore zoom mode when toggling reflow on/off 2013-02-19 19:16:42 +08:00
chrox
78f8ca9029 cleanup: remove debug info on bbox 2013-02-19 13:28:04 +08:00
Qingping Hou
f3452234ea add math.lua, move all math related helpers in to it 2013-02-19 11:57:14 +08:00
chrox
c53f866a93 cleanup: use screen size in page hash explicitly 2013-02-12 01:15:19 +08:00
chrox
7af80f63f6 check screen mode in koptinterface 2013-02-11 00:51:55 +08:00
chrox
1f511757c5 bugfix: calculate current config value or arg at runtime 2013-02-10 20:52:44 +08:00
{Qingping,Dave} Hou
85b4d60efc Merge pull request #735 from chrox/ui-tweaks
set menu font size according to screen dpi
2013-02-05 19:40:54 -08:00
chrox
21c972a786 hide DPI dependency in Font module 2013-02-05 18:15:45 +08:00
Qingping Hou
ae6c4bd03a Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into rotate
Conflicts:
	frontend/ui/reader/readerconfig.lua
2013-02-04 15:00:17 +08:00
chrox
0ed5d05bc0 hash current bbox explicitly 2013-02-03 22:58:30 +08:00
chrox
4675a220d8 add current bbox in page rendering hash
So that changing bbox could take effect on current page.
2013-02-03 21:36:11 +08:00
Qingping Hou
f91c913530 set default_arg for screen_mode option on runtime 2013-02-03 13:17:02 +08:00
Qingping Hou
0dba667937 rename setScreenViewMode to setScreenMode 2013-02-03 13:13:46 +08:00