Commit Graph

31 Commits (3066c86e38c8297c4c534a31c9631bb8bd6535cf)

Author SHA1 Message Date
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.
10 years ago
chrox fe14809bdf update mupdf and k2pdfopt to latest versions 10 years ago
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
10 years ago
chrox b83c4c3d95 hide several koptoptions in advanced mode 10 years ago
chrox 120f18737e add advanced option forced_ocr to force ocring text 10 years ago
chrox 0fdba1ff35 remove least used koptoptions to save space for small screens 10 years ago
chrox a9b9e7f087 mv columns and text align options to 'Layout' panel 10 years ago
chrox 1d292f16a9 remove full screen option in koptoption
since we can now switch progress bar status simply by tap
10 years ago
chrox c6c4cbcab1 add dewatermark option for pdf/djvu documents 10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
chrox 9f507e6447 add 'full/mini' options for progress bar of crereader 10 years ago
chrox 7247a9e3a2 add writing direction option when reflowing
This probably will fix #195.
11 years ago
chrox 90d55cbde4 set auto detect word gap in reflowing by default 11 years ago
chrox 4cfdce6105 fix several local calls of Math.round 11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago
chrox 3e94520e53 add width param in ToggleSwitch 11 years ago
chrox f32e9e4548 change medium and large defect sizes to 3.0 and 5.0 respectively 11 years ago
chrox 6dc53df5b5 word gap is set to smallest when selcting CJK languages 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
{Qingping,Dave} Hou 8c8977567c Merge pull request #156 from chrox/landscape_ori
toggle landscape will change orientation for landscape mode
11 years ago
chrox c19de743ba toggle landscape will change orientation for landscape mode 11 years ago
chrox 2e5d2b9930 add semi-auto bbox option in page crop dialog 11 years ago
Qingping Hou 0d902a1a4c add scrollmode and fullscreen mode to defaults 11 years ago
Qingping Hou 561c7902ca move defaults.lua to root directory 11 years ago
Qingping Hou 18122fe067 add defaults.lua 11 years ago
chrox 6601b19e4d disable scroll mode by default
since the default zoom mode is page while continuous paging is
useless in page zoom mode.
11 years ago
chrox 8df55b8318 recalculate zoom when changing font size 11 years ago
chrox fb05f9a428 add auto page crop 11 years ago
chrox e56bea89aa rotate page 90 degree instead of 270 degree before reflowing for vertical text 11 years ago
chrox 0a8ca756cc default render quality is set to 1 which will avoid most text resampling 11 years ago
chrox 22b650d0c7 move kopt/cre options into ui/data directory & wrap strings in config options 11 years ago