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

24 Commits

Author SHA1 Message Date
chrox
ad19673bd7 add bbox modification inside of koptreader
The modification code is copied directly from unireader as I haven't
find a more elegant way yet.
2012-11-11 20:13:57 +08:00
chrox
84aec5067b adjust gamma in k2pdfopt 2012-11-10 01:39:40 +08:00
chrox
cd9b6cc770 some UI tweaks and default changes 2012-11-09 17:21:34 +08:00
chrox
73f796a13c feature: add bbox support in koptreader
Reflow can be configured to use bbox which could remove
side comments and defects in the margin and get much better reflowed
page in some documents. Currently the bbox is only set in PDFReader or
DJVUReader reader. But eventually there will be bbox setting routines in
KOPTReader.
Thirdparty should be cleaned and refetched and remake to get
this feature in operation.
2012-11-09 11:04:01 +08:00
chrox
ab407c896c bugfix: automatic preview of new configuration is disabled
Configuration for koptreader doesn't take effect unless FW_PRESS
is pressed or Aa dialog is closed.
2012-11-06 22:38:16 +08:00
chrox
0e042c0ff1 change default value of render quality option 2012-11-04 03:42:52 +08:00
chrox
3c197ccd78 add trim page option 2012-11-04 00:54:32 +08:00
chrox
655f2bb19b add defect size option 2012-11-03 17:32:57 +08:00
chrox
3bedc59287 add render quality option
Many users complained that the reflowing process is too slow. This is
rather a speed-quality dilemma. Trade-off can be made by decreasing the
dpi of source page. And by default quality is prefered.
2012-11-03 16:58:19 +08:00
chrox
c5ebd6c6a6 more flexible configuration dialog
Each option can be configured to show or not and the height of the
config dialog is updated accordingly. By default the page margin and
line spacing is not drawn to save dialog space. Because these two
options just make minorest differences to the view of reflowed pages and
the default medium values should work in most case. Even so users can
still change the visibility of these two options by editing this file.
2012-11-03 15:47:23 +08:00
chrox
a8354db6ca add indentation option in koptconfig
By default the indentaion detection is enabled in K2pdfopt. This will
sometimes generate very poor reflowed page when there are sidenotes on
the page which would be treated as indentation. Disabling indentaion
detection will rescue the reflowed page from this situation.
2012-11-02 00:19:23 +08:00
chrox
a06051932f bugfix: don't refresh markers when page is dirty
Otherwise markers will show up before other elements are drawn which is
annoying
2012-10-28 19:41:29 +08:00
chrox
47da06a29e add screen rotation in koptconfig 2012-10-27 22:38:53 +08:00
chrox
389177bd51 save koptconfig in doc settings and remove previously used zoom and
gamma variables
2012-10-27 21:25:12 +08:00
chrox
6c46977074 add default item in auto straighten 2012-10-27 16:16:18 +08:00
chrox
cc9a47daa8 add auto straighten option for scanned pages 2012-10-27 16:08:49 +08:00
chrox
7557dbe05e add column detection in koptconfig 2012-10-27 14:55:50 +08:00
chrox
138f9facf3 add font size option in koptconfig dialog 2012-10-27 14:24:27 +08:00
chrox
ce631f4827 merge justification and full justification to one option 2012-10-27 11:06:53 +08:00
chrox
83cc0ea24b add justification option in koptconfig dialog 2012-10-26 19:48:28 +08:00
chrox
f4a2b5f3a0 add page margin and text wrap and contrast option in koptconfig 2012-10-26 17:16:31 +08:00
chrox
496591730f align option name to right and option item to left 2012-10-26 13:43:32 +08:00
chrox
472e669670 bugfix: make option names and items default to dirty at each call
Otherwise when call Koptconfig again option names and items will not be
drawn. And some variables' name are changed from 'value' to 'item' which
are consistent across this module now.
2012-10-26 13:00:26 +08:00
chrox
b4417c73de add config dialog for koptreader
For now only line spaceing and word spaceing are configurable with
'F'/'Aa' commands. And device size are passed to k2pdfopt in place of
the hard-coded default width and height(via @dpavlin).
2012-10-26 00:37:50 +08:00