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

47 Commits

Author SHA1 Message Date
chrox
72012e97e1 disable reflow options when reflow is not ON
This should also fix #1061.
2015-03-16 21:51:17 +08:00
chrox
83cad1c61c larger page margin as a workaround to fix #1422 2015-03-12 17:31:33 +08:00
Frans de Jonge
cf93605d04 Change "Screen Mode" to "Orientation"
Screen mode isn't user-oriented. Orientation is.

"Page" in "Page Margin" is redundant
2014-11-28 11:32:45 +01:00
chrox
3574865dcb fix #1166 by auto alignment of option name 2014-11-23 16:52:08 +08:00
Hans-Werner Hilse
3066c86e38 Refactoring hardware abstraction
This is a major overhaul of the hardware abstraction layer.
A few notes:

General platform distinction happens in
  frontend/device.lua
which will delegate everything else to
  frontend/device/<platform_name>/device.lua
which should extend
  frontend/device/generic/device.lua

Screen handling is implemented in
  frontend/device/screen.lua
which includes the *functionality* to support device specifics.
Actually setting up the device specific functionality, however,
is done in the device specific setup code in the relevant
device.lua file.

The same goes for input handling.
2014-11-02 21:19:04 +01:00
chrox
fe14809bdf update mupdf and k2pdfopt to latest versions 2014-08-19 12:11:49 +08:00
chrox
30898a3cd8 config line space/font gamma values directly 2014-08-19 12:11:49 +08:00
chrox
d7fa72e46c negative x panning if writing direction is set right to left
so that in right to left writing/drawing system the right part
of the page is drawn first
2014-08-06 22:06:38 +08:00
chrox
b83c4c3d95 hide several koptoptions in advanced mode 2014-08-05 12:04:17 +08:00
chrox
120f18737e add advanced option forced_ocr to force ocring text 2014-07-17 22:32:20 +08:00
chrox
803e4e8600 font weight option should be persistent between launchings
This should fix #620.
2014-06-04 21:55:01 +08:00
chrox
0fdba1ff35 remove least used koptoptions to save space for small screens 2014-06-02 23:49:00 +08:00
chrox
a9b9e7f087 mv columns and text align options to 'Layout' panel 2014-05-29 21:09:39 +08:00
chrox
1d292f16a9 remove full screen option in koptoption
since we can now switch progress bar status simply by tap
2014-05-19 14:23:36 +08:00
chrox
c6c4cbcab1 add dewatermark option for pdf/djvu documents 2014-04-07 00:22:47 +08:00
chrox
92219a1f1e cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
chrox
4fcb39494c use mini progress bar by default 2014-02-12 15:43:52 +08:00
chrox
9f507e6447 add 'full/mini' options for progress bar of crereader 2014-02-12 15:43:52 +08:00
chrox
19b3d10d8c fix wrong xpointer when changing screen orientation 2014-02-09 17:51:41 +08:00
chrox
83eb90cd47 add font size fine tuning for crereader 2014-01-18 03:11:04 +08:00
chrox
ae9b68e1b9 adjust default page margins 2014-01-07 21:38:26 +08:00
chrox
e21e017b8d tweaks on config dialog for crereader 2014-01-03 23:18:10 +08:00
chrox
b72dd5aab6 alternate landscape in crereader 2014-01-03 22:08:07 +08:00
chrox
71ddd8aa91 make default font size consistent 2014-01-03 11:12:26 +08:00
chrox
1cbc6b9669 move crereader margin options into defaults.lua 2013-12-28 18:39:42 +08:00
chrox
7247a9e3a2 add writing direction option when reflowing
This probably will fix #195.
2013-12-22 19:13:12 +08:00
chrox
90d55cbde4 set auto detect word gap in reflowing by default 2013-10-24 23:45:09 +08:00
chrox
4cfdce6105 fix several local calls of Math.round 2013-10-23 22:37:55 +08:00
HW
ef111b99c6 Refactored to use strictly locals 2013-10-18 22:38:07 +02:00
chrox
32ffacdf77 adjust font sizes in credocument according to screen dpi
and font sizes list is moved to defaults.lua
2013-10-16 17:06:28 +08:00
chrox
3e94520e53 add width param in ToggleSwitch 2013-10-13 23:10:31 +08:00
chrox
f32e9e4548 change medium and large defect sizes to 3.0 and 5.0 respectively 2013-10-13 21:31:39 +08:00
chrox
6dc53df5b5 word gap is set to smallest when selcting CJK languages 2013-07-20 03:33:58 +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
{Qingping,Dave} Hou
8c8977567c Merge pull request #156 from chrox/landscape_ori
toggle landscape will change orientation for landscape mode
2013-07-12 23:13:28 -07:00
chrox
c19de743ba toggle landscape will change orientation for landscape mode 2013-07-13 13:56:25 +08:00
chrox
2e5d2b9930 add semi-auto bbox option in page crop dialog 2013-07-13 11:18:49 +08:00
Qingping Hou
0d902a1a4c add scrollmode and fullscreen mode to defaults 2013-07-03 02:19:10 -04:00
Qingping Hou
561c7902ca move defaults.lua to root directory 2013-07-01 02:55:28 -04: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
6601b19e4d disable scroll mode by default
since the default zoom mode is page while continuous paging is
useless in page zoom mode.
2013-06-26 15:46:10 +08:00
chrox
8df55b8318 recalculate zoom when changing font size 2013-04-20 16:17:38 +08:00
chrox
fb05f9a428 add auto page crop 2013-04-14 15:16:42 +08:00
chrox
e56bea89aa rotate page 90 degree instead of 270 degree before reflowing for vertical text 2013-04-13 14:13:11 +08:00
chrox
0a8ca756cc default render quality is set to 1 which will avoid most text resampling 2013-04-12 02:30:33 +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