mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
bump crengine: alternative TOC, no page break on borders (#4011)
Includes: - Avoid page break between a node and its borders - Allow building an alternative TOC from document headings On CRE documents, allows toggling between original TOC and an alternative TOC with long-press on the "Table of content" menu item. Also update the Wikipedia stylesheet to further avoid page-breaks between images and their caption, so a full bordered wikipedia thumbnail is always full on a single page.
This commit is contained in:
@@ -186,7 +186,7 @@ function ReaderHyphenation:onPreRenderDocument(config)
|
||||
if hyph_alg then
|
||||
self.ui.document:setHyphDictionary(hyph_alg)
|
||||
end
|
||||
-- If we haven't set any, hardcoded English_US_hyphen_(Alan).pdb (in cre.cpp) will be used
|
||||
-- If we haven't set any, hardcoded English_US.pattern (in cre.cpp) will be used
|
||||
self.hyph_alg = cre.getSelectedHyphDict()
|
||||
-- Apply hyphenation sides limits
|
||||
local hyph_settings = self.hyph_algs_settings[self.hyph_alg] or {}
|
||||
|
||||
Reference in New Issue
Block a user