Commit Graph

101 Commits (ce624be8b83e880b1a81106a143e1440eeda4aab)

Author SHA1 Message Date
chrox 30898a3cd8 config line space/font gamma values directly 10 years ago
WS64 8224cd714b Added a sedond library path 10 years ago
WS64 d72ff42a0d Can't convert false back to string in "set defaults", so the default needs to be a string 10 years ago
WS64 20d335befd Points to the picture(s) 10 years ago
WS64 7fb9940063 Added two light parameter for Kobo 10 years ago
NiLuJe e2efb230a6 Make the geometry of the minibar user-configurable
As well as the width of the toc notches
Lower the default value of the container size a bit to avoid eating into
the last line on small borders setup (I checked on 167 & 212 DPI
devices, Feel free to revert to the previous value (19) if that causes
trouble).
10 years ago
WS64 f25ff7a345 Add missing quotation marks in example and add option to turn on/off chapter markers in mini progress bar 10 years ago
WS64 d7739a25e6 Default = progressbar visible 10 years ago
WS64 32d96abc01 Add some parameters to define the search 10 years ago
WS64 0edbc0c6e4 Adde DCREREADER_TWO_PAGE_THRESHOLD 10 years ago
WS64 1c1adb83cd Added entry for battery status in mini bar 10 years ago
WS64 a8ba0247ed Add double click tap zones for going to next/prev chapter and switches for changed swipe behaviour 10 years ago
WS64 c32af15854 set DMINIBAR_ALL_AT_ONCE = false 10 years ago
WS64 ddf90f2391 Update defaults.lua 10 years ago
Markismus aaa84808e8 add persistent option for defaults.lua 10 years ago
Markismus 5d53d4c1d6 Update defaults.lua
Frontlight decrease of sensitivity for two-fingered pan gesture
10 years ago
chrox 1fd45c3903 add tap zone configuration for the minibar 10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
chrox 19e50a1098 hinting one page by default
since reflowed page has a minimum height of screen height.
There are no more than two pages displayed on screen
simultaneously even in scroll mode.
10 years ago
chrox b1acbb2446 make overlap pixels configurable 10 years ago
chrox 4fcb39494c use mini progress bar by default 10 years ago
chrox 8b09ee7cf1 disable tap zone for config menu by default 10 years ago
chrox 904a5f1ebe calculate maximum global cache size from free RAM
In reflowing scroll mode with 2 pages hinting, 4 full page blitbuffers
and koptcontexts should stay well in cache in the most demanding cases,
with two pages shown on screen and two pages rendered in background.
Since blitbuffer size is halved the size of page, we need cache size
to be 6 times an average reflowed page size.

For Kobo Aura HD which has a resolution of 1440×1080, a reflowed page
could become 1080×4800. So 30MB of cache is demanded for this case.

This PR implements dynamic cache size allocating according to size of
system free memory. By default it will use 20 percent of free RAM with
a clip specified by DGLOBAL_CACHE_SIZE_MINIMUM and
DGLOBAL_CACHE_SIZE_MAXIMUM which are 10MB and 30MB respectively by default.
10 years ago
chrox 63ddc3dd04 tweaks on default page margins 10 years ago
Paulo Matias 9072a30cb5 Avoid off-limits dictionary title and make font size adjustable 10 years ago
chrox a5594e8e42 tweaks on default page margins with new punctuation calculation 10 years ago
chrox ae9b68e1b9 adjust default page margins 10 years ago
chrox 819fece802 add DLANDSCAPE_CLOCKWISE_ROTATION option in defaults.lua 10 years ago
chrox d2f03c9f73 save page margins for credocument 10 years ago
chrox 210293b561 add floating punctuation option for crereader
Luckily after disabling floating punctuation left/right margin
are able to be same now (with large enough margins, should be
more than 1em). So I also changed the default page margins for
crereader and removed the dirty hack.
10 years ago
chrox 8b24c0a8e9 revert to previous margin sizes 10 years ago
chrox b2cc4b5b73 tweaks on default margin sizes 10 years ago
chrox 1cbc6b9669 move crereader margin options into defaults.lua 10 years ago
chrox ee8838960b add auto save settings option 10 years ago
chrox 42c5ae2ac0 add option to display file size in filemanager
file size is not shown by default
11 years ago
chrox da317ed14a customizable tap zones for top menu 11 years ago
chrox f0039cbb02 customizable tap zones for page flipping and bookmarking 11 years ago
chrox 912a8a496b add customizable tap zones for tap forward/backward and config 11 years ago
chrox 90d55cbde4 set auto detect word gap in reflowing by default 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 b96465b156 remove chi_tra lang code in defaults.lua 11 years ago
chrox 2b9b9bc9a5 add DSHOWHIDDENFILES in defaults.lua
this should fix #239
11 years ago
chrox 0b7554b1d8 add DSHOWOVERLAP in defaults.lua
Turn off "show overlap" by default since scroll mode can replace it
in most cases where "show overlap" is used. And the dimmed area often
make new users confused. It's better to leave this feature to more
advanced users.
11 years ago
chrox f207c285ff set default render quality in reflowing to 1.0
which should be a good tradeoff between speed and quality.
11 years ago
chrox 979d4c5d48 add DHINTCOUNT in defaults.lua
It controls how many number of pages will be hinted in background
after one page has been drawn. Default DHINTCOUNT is 2.
11 years ago
chrox fa9878301f disable double tap detection by default in gesture detector
since the gesture detector will block the main thread
(the only thread in the lua part) for 300 ms on each tap
waiting for the arrival of the second tap, it makes the whole
application less responsive. 300 ms of latency is well perceived
in this case. This patch will simply disable double tap detection by
default as no widget now handles double_tap gestures. We could
temporarily enable double tap detection when this gesture is indeed
needed after.
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 Hou 5b8996dfcc turn off scroll mode be default 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