2012-11-04 14:51:00 +00:00
|
|
|
-- framebuffer update policy state:
|
|
|
|
DRCOUNT = 5
|
|
|
|
-- default to full refresh on every page turn
|
|
|
|
DRCOUNTMAX = 0
|
|
|
|
|
|
|
|
-- zoom state:
|
|
|
|
DGLOBALZOOM = 1.0
|
|
|
|
DGLOBALZOOM_ORIG = 1.0
|
|
|
|
DGLOBALZOOM_MODE = -1 -- ZOOM_FIT_TO_PAGE
|
|
|
|
|
|
|
|
DGLOBALROTATE = 0
|
|
|
|
|
|
|
|
-- gamma setting:
|
|
|
|
DGLOBALGAMMA = 1.0 -- GAMMA_NO_GAMMA
|
|
|
|
|
|
|
|
-- DjVu page rendering mode (used in djvu.c:drawPage())
|
|
|
|
-- See comments in djvureader.lua:DJVUReader:select_render_mode()
|
|
|
|
DRENDER_MODE = 0 -- COLOUR
|
|
|
|
|
|
|
|
-- set panning distance
|
|
|
|
DSHIFT_X = 100
|
|
|
|
DSHIFT_Y = 50
|
|
|
|
-- step to change zoom manually, default = 16%
|
|
|
|
DSTEP_MANUAL_ZOOM = 16
|
|
|
|
DPAN_BY_PAGE = false -- using shift_[xy] or width/height
|
|
|
|
DPAN_MARGIN = 5 -- horizontal margin for two-column zoom (in pixels)
|
|
|
|
DPAN_OVERLAP_VERTICAL = 30
|
|
|
|
|
|
|
|
-- tile cache configuration:
|
|
|
|
DCACHE_MAX_MEMSIZE = 1024*1024*5 -- 5MB tile cache
|
|
|
|
DCACHE_MAX_TTL = 20 -- time to live
|
|
|
|
|
|
|
|
-- renderer cache size
|
|
|
|
DCACHE_DOCUMENT_SIZE = 1024*1024*8 -- FIXME random, needs testing
|
|
|
|
|
2012-11-05 20:02:06 +00:00
|
|
|
-- default value for battery level logging
|
|
|
|
DBATTERY_LOGGING = false
|
|
|
|
|
2012-11-04 16:22:28 +00:00
|
|
|
-- background colour: 8 = gray, 0 = white, 15 = black
|
|
|
|
DBACKGROUND_COLOR = 8
|
|
|
|
|
2012-11-15 13:35:41 +00:00
|
|
|
-- delay for info messages in ms
|
|
|
|
DINFO_NODELAY=0
|
|
|
|
DINFO_DELAY=1500
|
2012-11-08 23:58:40 +00:00
|
|
|
|
2012-11-04 14:51:00 +00:00
|
|
|
-- toggle defaults
|
|
|
|
DUNIREADER_SHOW_OVERLAP_ENABLE = true
|
|
|
|
DUNIREADER_SHOW_LINKS_ENABLE = true
|
2012-11-11 17:31:56 +00:00
|
|
|
DUNIREADER_COMICS_MODE_ENABLE = true
|
2012-11-04 14:51:00 +00:00
|
|
|
DUNIREADER_RTL_MODE_ENABLE = false
|
2012-11-08 23:58:40 +00:00
|
|
|
DUNIREADER_PAGE_MODE_ENABLE = false
|
2012-11-04 14:51:00 +00:00
|
|
|
|
|
|
|
DDJVUREADER_SHOW_OVERLAP_ENABLE = true
|
|
|
|
DDJVUREADER_SHOW_LINKS_ENABLE = false
|
2012-11-11 17:31:56 +00:00
|
|
|
DDJVUREADER_COMICS_MODE_ENABLE = true
|
2012-11-04 14:51:00 +00:00
|
|
|
DDJVUREADER_RTL_MODE_ENABLE = false
|
2012-11-08 23:58:40 +00:00
|
|
|
DDJVUREADER_PAGE_MODE_ENABLE = false
|
2012-11-04 14:51:00 +00:00
|
|
|
|
|
|
|
DKOPTREADER_SHOW_OVERLAP_ENABLE = true
|
|
|
|
DKOPTREADER_SHOW_LINKS_ENABLE = false
|
|
|
|
DKOPTREADER_COMICS_MODE_ENABLE = false
|
|
|
|
DKOPTREADER_RTL_MODE_ENABLE = false
|
2012-11-08 23:58:40 +00:00
|
|
|
DKOPTREADER_PAGE_MODE_ENABLE = false
|
2012-11-04 14:51:00 +00:00
|
|
|
|
|
|
|
DPICVIEWER_SHOW_OVERLAP_ENABLE = false
|
|
|
|
DPICVIEWER_SHOW_LINKS_ENABLE = false
|
2012-11-11 17:31:56 +00:00
|
|
|
DPICVIEWER_COMICS_MODE_ENABLE = true
|
2012-11-04 14:51:00 +00:00
|
|
|
DPICVIEWER_RTL_MODE_ENABLE = false
|
2012-11-08 23:58:40 +00:00
|
|
|
DPICVIEWER_PAGE_MODE_ENABLE = false
|
2012-11-04 14:51:00 +00:00
|
|
|
|
2012-12-10 18:43:34 +00:00
|
|
|
-- supported view mode includes: "scroll" and "page"
|
2012-12-12 18:09:34 +00:00
|
|
|
DCREREADER_VIEW_MODE = "page"
|
2012-12-08 17:45:25 +00:00
|
|
|
|
2012-11-22 14:34:39 +00:00
|
|
|
-- koptreader config defaults
|
|
|
|
DKOPTREADER_CONFIG_FONT_SIZE = 1.0 -- range from 0.1 to 3.0
|
|
|
|
DKOPTREADER_CONFIG_TEXT_WRAP = 1 -- 1 = on, 0 = off
|
|
|
|
DKOPTREADER_CONFIG_TRIM_PAGE = 1 -- 1 = auto, 0 = manual
|
|
|
|
DKOPTREADER_CONFIG_DETECT_INDENT = 1 -- 1 = enable, 0 = disable
|
|
|
|
DKOPTREADER_CONFIG_DEFECT_SIZE = 1.0 -- range from 0.0 to 3.0
|
|
|
|
DKOPTREADER_CONFIG_PAGE_MARGIN = 0.06 -- range from 0.0 to 1.0
|
|
|
|
DKOPTREADER_CONFIG_LINE_SPACING = 1.2 -- range from 0.5 to 2.0
|
|
|
|
DKOPTREADER_CONFIG_WORD_SAPCING = 0.15 -- range from 0.05 to 0.5
|
|
|
|
DKOPTREADER_CONFIG_MULTI_THREADS = 1 -- 1 = on, 0 = off
|
|
|
|
DKOPTREADER_CONFIG_RENDER_QUALITY = 1.0 -- range from 0.5 to 1.0
|
|
|
|
DKOPTREADER_CONFIG_AUTO_STRAIGHTEN = 0 -- range from 0 to 10
|
|
|
|
DKOPTREADER_CONFIG_JUSTIFICATION = -1 -- -1 = auto, 0 = left, 1 = center, 2 = right, 3 = full
|
|
|
|
DKOPTREADER_CONFIG_MAX_COLUMNS = 2 -- range from 1 to 4
|
|
|
|
DKOPTREADER_CONFIG_CONTRAST = 1.0 -- range from 0.2 to 2.0
|
|
|
|
DKOPTREADER_CONFIG_SCREEN_ROTATION = 0 -- 0, 90, 180, 270 degrees
|
|
|
|
|
2012-11-14 16:41:02 +00:00
|
|
|
-- supported extensions
|
|
|
|
DPDFREADER_EXT = ";pdf;xps;cbz;zip;"
|
|
|
|
DDJVUREADER_EXT = ";djvu;"
|
|
|
|
DPDFREFLOW_EXT = ";pdf;"
|
|
|
|
DDJVUREFLOW_EXT = ";djvu;"
|
2012-11-14 18:44:02 +00:00
|
|
|
DCREREADER_EXT = ";epub;txt;rtf;htm;html;mobi;prc;azw;fb2;chm;pdb;doc;tcr;zip;" -- seems to accept pdb-files for PalmDoc only
|
2012-11-14 16:41:02 +00:00
|
|
|
DPICVIEWER_EXT = ";jpg;jpeg;"
|