mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
bump crengine: word spacing and hyphenation tweaks
Includes: - New option to tune word spacing: space width scale percent - Text: look for hyphenation in more words if needed - CSS: fix "hyphens:none" should override inherited "hyphens:auto" - getHtml(): grab dir= and lang= attributes from upper nodes Replace our Word Gap/Space condensing toggle/setting with a new Word Spacing toggle/setting, made of 2 values: - 1st number scales the normal width of spaces in all font (100% uses the font space width untouched) - 2nd number applies after the 1st has been applied, and tells how much these spaces can additionally be condensed to make more text fit on a line.
This commit is contained in:
@@ -106,9 +106,9 @@ read_globals = {
|
||||
"DCREREADER_CONFIG_LINE_SPACE_PERCENT_LARGE",
|
||||
"DCREREADER_CONFIG_LINE_SPACE_PERCENT_X_LARGE",
|
||||
"DCREREADER_CONFIG_LINE_SPACE_PERCENT_XX_LARGE",
|
||||
"DCREREADER_CONFIG_WORD_GAP_SMALL",
|
||||
"DCREREADER_CONFIG_WORD_GAP_MEDIUM",
|
||||
"DCREREADER_CONFIG_WORD_GAP_LARGE",
|
||||
"DCREREADER_CONFIG_WORD_SPACING_SMALL",
|
||||
"DCREREADER_CONFIG_WORD_SPACING_MEDIUM",
|
||||
"DCREREADER_CONFIG_WORD_SPACING_LARGE",
|
||||
"DMINIBAR_TOC_MARKER_WIDTH",
|
||||
"DMINIBAR_CONTAINER_HEIGHT",
|
||||
"DMINIBAR_FONT_SIZE",
|
||||
|
||||
Reference in New Issue
Block a user