Commit Graph

259 Commits (ce624be8b83e880b1a81106a143e1440eeda4aab)

Author SHA1 Message Date
alexandrahurst 71d38ac647 Refactor modifier keys and add basic Japanese keyboard layout (#2930)
* Add a basic Japanese keyboard layout

Allow for entring Japanese text into text boxes.  Only supports kana
and latin letters due to limitations of current VirtualKeyboard
implementation (complex text input with conversion is not possible).

* Allow keyboard layouts to declare custom modifiers

Refactor modifier key setup code and existing keyboard layouts so
that each layout can declare custom modifier key labels.  This
allows for greater extensibility and for future keyboard layouts.
7 years ago
Robert 0b47c81b1a Add Greek keyboard (#2866)
* Add Greek keyboard

* Fix fix raw to row in comments
7 years ago
robert00s 0bbb4bbc16 Fix: missing letters from portuguese language 7 years ago
robert00s 8a9811804d Add Polish keyboard (#2319)
Add Polish keyboard


* Optimization
8 years ago
Frans de Jonge 6091378bc6 Various low-hanging language fruits
* Record to location, see https://github.com/koreader/koreader/pull/2268#issuecomment-252416860
* Defect size, see https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/11979947?issue=yes
* Stop publisher/subscriber, see https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031159?issue=yes and https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031160?issue=yes and https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031161?issue=yes
8 years ago
chrox 551857ce6e fix some luacheck warnings 8 years ago
chihyang c161bc2f79 Add a new feature 'read from right to left'
A new feature 'read from right to left' is added, which is more fit for
Traditional Chinese and Japanese books. Once the feature is enabled:
1. The gesture region of TapForward and area will be flipped
horizonally;
2. The action for swiping to west and to east will be exchanged.
8 years ago
chihyang 8251cd6ac8 Add a UI option to set 'read from right to left' 8 years ago
Qingping Hou 6a1fa7f612 move keyboard layout into data modules
also changed keyboard mode for number to 4
8 years ago
chrox 4c491b5ee2 rename 'Highlight' to 'Highlight options' in menu
This should fix #2023.
8 years ago
Zijie He 1aa0c4192a Multi-line toggle switch & add instruction to resolve sdcv build error. 8 years ago
Qingping Hou 11d5b5c0a1 fix(readerlink): restore reader view context on go back 8 years ago
chrox 72012e97e1 disable reflow options when reflow is not ON
This should also fix #1061.
9 years ago
chrox 83cad1c61c larger page margin as a workaround to fix #1422 9 years ago
Frans de Jonge cf93605d04 Change "Screen Mode" to "Orientation"
Screen mode isn't user-oriented. Orientation is.

"Page" in "Page Margin" is redundant
10 years ago
chrox 3574865dcb fix #1166 by auto alignment of option name 10 years ago
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 30898a3cd8 config line space/font gamma values directly 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 803e4e8600 font weight option should be persistent between launchings
This should fix #620.
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 4fcb39494c use mini progress bar by default 10 years ago
chrox 9f507e6447 add 'full/mini' options for progress bar of crereader 10 years ago
chrox 19b3d10d8c fix wrong xpointer when changing screen orientation 10 years ago
chrox 83eb90cd47 add font size fine tuning for crereader 11 years ago
chrox ae9b68e1b9 adjust default page margins 11 years ago
chrox e21e017b8d tweaks on config dialog for crereader 11 years ago
chrox b72dd5aab6 alternate landscape in crereader 11 years ago
chrox 71ddd8aa91 make default font size consistent 11 years ago
chrox 1cbc6b9669 move crereader margin options into defaults.lua 11 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 32ffacdf77 adjust font sizes in credocument according to screen dpi
and font sizes list is moved to defaults.lua
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 94526fa26d add page margin options in CREOptions 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