mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Adds Word Expansion: use of letter spacing for justification
Bump crengine: - Text: fix occasional BiDi bad word splitting - Font: fix HB fallback measurement/drawing mismatches - Font: do not add letter spacing on diacritics - Text: tunable use of letter spacing for justification - Text: dont adjust space after initial quotation mark/dash (rework) - Text: fix possible bad widths after collapsed spaces xtext.cpp: pick crengine fix with HB fallback measurement/drawing mismatches Adds "Word Expansion" to bottom Font size menu, and moved "Word Spacing" there too, to balance the panels' heights to 4 items.
This commit is contained in:
@@ -185,6 +185,13 @@ DCREREADER_CONFIG_WORD_SPACING_SMALL = {75, 50}
|
||||
DCREREADER_CONFIG_WORD_SPACING_MEDIUM = {95, 75}
|
||||
DCREREADER_CONFIG_WORD_SPACING_LARGE = {100, 90}
|
||||
|
||||
-- word expansion, to reduce excessive spacing on justified line
|
||||
-- by using letter spacing on the words
|
||||
-- value is the max allowed added letter spacing, as a % of the font size
|
||||
DCREREADER_CONFIG_WORD_EXPANSION_NONE = 0
|
||||
DCREREADER_CONFIG_WORD_EXPANSION_SOME = 5
|
||||
DCREREADER_CONFIG_WORD_EXPANSION_MORE = 15
|
||||
|
||||
-- crereader progress bar (no longer needed)
|
||||
-- 0 for top "full" progress bar
|
||||
-- 1 for bottom "mini" progress bar
|
||||
|
||||
Reference in New Issue
Block a user