Last active
December 19, 2019 09:35
-
-
Save ptrm/b01c673d0b7878bf7a2c191dbf3062dc to your computer and use it in GitHub Desktop.
Koreader smaller zones
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- For configuration changes that persists between updates | |
_USR_ZONE_DIVIDER = 16 | |
_USR_ZONE_AMOUNT_FAR = (_USR_ZONE_DIVIDER - 1) / _USR_ZONE_DIVIDER | |
_USR_ZONE_AMOUNT_CLOSE = 1 / _USR_ZONE_DIVIDER | |
DTAP_ZONE_TOP_RIGHT = { | |
["y"] = 0, | |
["h"] = _USR_ZONE_AMOUNT_CLOSE, | |
["x"] = _USR_ZONE_AMOUNT_FAR, | |
["w"] = _USR_ZONE_AMOUNT_CLOSE | |
} | |
DTAP_ZONE_TOP_LEFT = { | |
["y"] = 0, | |
["h"] = _USR_ZONE_AMOUNT_CLOSE, | |
["x"] = 0, | |
["w"] = _USR_ZONE_AMOUNT_CLOSE | |
} | |
DTAP_ZONE_BOTTOM_RIGHT = { | |
["y"] = _USR_ZONE_AMOUNT_FAR, | |
["h"] = _USR_ZONE_AMOUNT_CLOSE, | |
["x"] = _USR_ZONE_AMOUNT_FAR, | |
["w"] = _USR_ZONE_AMOUNT_CLOSE | |
} | |
DTAP_ZONE_BOTTOM_LEFT = { | |
["y"] = _USR_ZONE_AMOUNT_FAR, | |
["h"] = _USR_ZONE_AMOUNT_CLOSE, | |
["x"] = 0, | |
["w"] = _USR_ZONE_AMOUNT_CLOSE | |
} | |
DCREREADER_CONFIG_FONT_SIZES = { | |
[1] = 17, | |
[2] = 21, | |
[3] = 21.5, | |
[4] = 24, | |
[5] = 27, | |
[6] = 28, | |
[7] = 28.5, | |
[8] = 29, | |
[9] = 30, | |
[10] = 32 | |
} | |
DCREREADER_CONFIG_DEFAULT_FONT_SIZE = 17.5 | |
DCREREADER_CONFIG_B_MARGIN_SIZES_X_LARGE = 35 | |
DCREREADER_CONFIG_WORD_GAP_MEDIUM = 50 | |
DCREREADER_CONFIG_MARGIN_SIZES_SMALL = { | |
[1] = 17, | |
[2] = 21, | |
[3] = 17, | |
[4] = 10 | |
} | |
DCREREADER_CONFIG_WORD_GAP_SMALL = 40 | |
DCREREADER_CONFIG_B_MARGIN_SIZES_LARGE = 25 | |
DCREREADER_CONFIG_WORD_SPACING_LARGE = { | |
[1] = 80, | |
[2] = 70 | |
} | |
DKOPTREADER_CONFIG_DOC_LANGS_CODE = { | |
[2] = "pol", | |
[1] = "eng" | |
} | |
DCREREADER_CONFIG_WORD_SPACING_SMALL = { | |
[1] = 75, | |
[2] = 50 | |
} | |
DCREREADER_CONFIG_MARGIN_SIZES_LARGE = { | |
[1] = 47, | |
[2] = 27, | |
[3] = 47, | |
[4] = 17 | |
} | |
DCREREADER_CONFIG_B_MARGIN_SIZES_X_HUGE = 64 | |
DCREREADER_CONFIG_H_MARGIN_SIZES_XXX_LARGE = { | |
[2] = 40, | |
[1] = 40 | |
} | |
DCREREADER_CONFIG_B_MARGIN_SIZES_MEDIUM = 15 | |
DCREREADER_CONFIG_B_MARGIN_SIZES_XX_LARGE = 35 | |
DKOPTREADER_CONFIG_DOC_LANGS_TEXT = { | |
[2] = "Polski", | |
[1] = "English" | |
} | |
DCREREADER_CONFIG_DEFAULT_FONT_GAMMA = 25 | |
DCREREADER_CONFIG_H_MARGIN_SIZES_XX_LARGE = { | |
[1] = 36, | |
[2] = 36 | |
} | |
DCREREADER_CONFIG_WORD_SPACING_MEDIUM = { | |
[1] = 80, | |
[2] = 60 | |
} | |
DCREREADER_CONFIG_MARGIN_SIZES_MEDIUM = { | |
[1] = 37, | |
[2] = 23, | |
[3] = 37, | |
[4] = 15 | |
} | |
DCREREADER_CONFIG_H_MARGIN_SIZES_MEDIUM = { | |
[2] = 12, | |
[1] = 12 | |
} | |
DSHOWHIDDENFILES = true | |
DCREREADER_CONFIG_H_MARGIN_SIZES_X_LARGE = { | |
[1] = 32, | |
[2] = 32 | |
} | |
DCREREADER_CONFIG_H_MARGIN_SIZES_XX_HUGE = { | |
[2] = 57, | |
[1] = 57 | |
} | |
DCREREADER_CONFIG_WORD_GAP_LARGE = 70 | |
DCREREADER_TWO_PAGE_THRESHOLD = 10 | |
DCREREADER_CONFIG_B_MARGIN_SIZES_XX_HUGE = 64 | |
DCREREADER_CONFIG_B_MARGIN_SIZES_XXX_LARGE = 40 | |
DCREREADER_CONFIG_H_MARGIN_SIZES_LARGE = { | |
[1] = 27, | |
[2] = 27 | |
} | |
DCREREADER_CONFIG_DARKER_FONT_GAMMA = 32 | |
DKOPTREADER_CONFIG_DOC_DEFAULT_LANG_CODE = "pol" | |
DCREREADER_CONFIG_B_MARGIN_SIZES_HUGE = 52 | |
DCREREADER_CONFIG_LIGHTER_FONT_GAMMA = 20 | |
DCREREADER_CONFIG_H_MARGIN_SIZES_HUGE = { | |
[2] = 45, | |
[1] = 45 | |
} | |
DCREREADER_CONFIG_H_MARGIN_SIZES_X_HUGE = { | |
[2] = 50, | |
[1] = 50 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- For configuration changes that persists between updates | |
DCREREADER_CONFIG_FONT_SIZES = { | |
[1] = 17, | |
[2] = 21, | |
[3] = 21.5, | |
[4] = 24, | |
[5] = 27, | |
[6] = 28, | |
[7] = 28.5, | |
[8] = 29, | |
[9] = 30, | |
[10] = 32 | |
} | |
DCREREADER_CONFIG_DEFAULT_FONT_SIZE = 17.5 | |
_USR_ZONE_AMOUNT_FAR = 0.9375 | |
DCREREADER_CONFIG_B_MARGIN_SIZES_X_LARGE = 35 | |
DCREREADER_CONFIG_WORD_GAP_MEDIUM = 50 | |
DCREREADER_CONFIG_MARGIN_SIZES_SMALL = { | |
[1] = 17, | |
[2] = 21, | |
[3] = 17, | |
[4] = 10 | |
} | |
DCREREADER_CONFIG_WORD_GAP_SMALL = 40 | |
DCREREADER_CONFIG_B_MARGIN_SIZES_LARGE = 25 | |
DCREREADER_CONFIG_WORD_SPACING_LARGE = { | |
[2] = 70, | |
[1] = 80 | |
} | |
DCREREADER_CONFIG_H_MARGIN_SIZES_XX_HUGE = { | |
[1] = 57, | |
[2] = 57 | |
} | |
DCREREADER_CONFIG_WORD_SPACING_SMALL = { | |
[2] = 50, | |
[1] = 75 | |
} | |
DCREREADER_CONFIG_MARGIN_SIZES_LARGE = { | |
[1] = 47, | |
[2] = 27, | |
[3] = 47, | |
[4] = 17 | |
} | |
DCREREADER_CONFIG_B_MARGIN_SIZES_X_HUGE = 64 | |
DCREREADER_CONFIG_H_MARGIN_SIZES_XXX_LARGE = { | |
[1] = 40, | |
[2] = 40 | |
} | |
DCREREADER_CONFIG_B_MARGIN_SIZES_MEDIUM = 16 | |
DTAP_ZONE_BOTTOM_RIGHT = { | |
["y"] = 0.9375, | |
["h"] = 0.0625, | |
["x"] = 0.9375, | |
["w"] = 0.0625 | |
} | |
DCREREADER_CONFIG_B_MARGIN_SIZES_XX_LARGE = 35 | |
DKOPTREADER_CONFIG_DOC_LANGS_TEXT = { | |
[1] = "English", | |
[2] = "Polski" | |
} | |
DCREREADER_CONFIG_DEFAULT_FONT_GAMMA = 25 | |
DTAP_ZONE_TOP_RIGHT = { | |
["y"] = 0, | |
["h"] = 0.0625, | |
["x"] = 0.9375, | |
["w"] = 0.0625 | |
} | |
DTAP_ZONE_BOTTOM_LEFT = { | |
["y"] = 0.9375, | |
["h"] = 0.0625, | |
["x"] = 0, | |
["w"] = 0.0625 | |
} | |
DTAP_ZONE_TOP_LEFT = { | |
["y"] = 0, | |
["h"] = 0.0625, | |
["x"] = 0, | |
["w"] = 0.0625 | |
} | |
DCREREADER_CONFIG_WORD_SPACING_MEDIUM = { | |
[2] = 60, | |
[1] = 80 | |
} | |
_USR_ZONE_DIVIDER = 16 | |
DCREREADER_CONFIG_H_MARGIN_SIZES_X_HUGE = { | |
[1] = 50, | |
[2] = 50 | |
} | |
DCREREADER_CONFIG_MARGIN_SIZES_MEDIUM = { | |
[1] = 37, | |
[2] = 23, | |
[3] = 37, | |
[4] = 15 | |
} | |
DCREREADER_CONFIG_H_MARGIN_SIZES_HUGE = { | |
[1] = 45, | |
[2] = 45 | |
} | |
_USR_ZONE_AMOUNT_CLOSE = 0.0625 | |
DCREREADER_CONFIG_LIGHTER_FONT_GAMMA = 20 | |
DCREREADER_CONFIG_B_MARGIN_SIZES_HUGE = 52 | |
DKOPTREADER_CONFIG_DOC_DEFAULT_LANG_CODE = "pol" | |
DCREREADER_CONFIG_WORD_GAP_LARGE = 70 | |
DCREREADER_TWO_PAGE_THRESHOLD = 10 | |
DCREREADER_CONFIG_H_MARGIN_SIZES_MEDIUM = { | |
[1] = 12, | |
[2] = 12 | |
} | |
DCREREADER_CONFIG_B_MARGIN_SIZES_XXX_LARGE = 40 | |
DCREREADER_CONFIG_H_MARGIN_SIZES_LARGE = { | |
[2] = 27, | |
[1] = 27 | |
} | |
DCREREADER_CONFIG_DARKER_FONT_GAMMA = 32 | |
DCREREADER_CONFIG_B_MARGIN_SIZES_XX_HUGE = 64 | |
DKOPTREADER_CONFIG_DOC_LANGS_CODE = { | |
[1] = "eng", | |
[2] = "pol" | |
} | |
DCREREADER_CONFIG_H_MARGIN_SIZES_XX_LARGE = { | |
[2] = 36, | |
[1] = 36 | |
} | |
DSHOWHIDDENFILES = true | |
DCREREADER_CONFIG_H_MARGIN_SIZES_X_LARGE = { | |
[2] = 32, | |
[1] = 32 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment