mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
bump crengine: tables rendering improvements and others
bump crengine, which includes: - Adds support for symbol fonts (local or embedded) - Fix some issues when rendering text in constrained width - Page splitting: fix possible missing blocks - CSS: adds support for 'auto', ignore % for borders - Fix right border drawing position - Fix: adds missing properties in copystyle() - Adds comments, erm_killed rendering method - Adds getRenderedWidths(): get node min/max node content width - Tables rendering: fixes and improvements - getRenderedWidths: enable min_width to be a single CJK char - Fix wrong text wrap avoid in some case - epub.css: add style for 'blockquote' - Fix rendering issue when line ends with an image Adds a few style tweaks related to tables. Enforce table width: 100% in Wikipedia EPUBs to keep previous look, which feels better with the various kinds of tables in Wikipedia pages. Fix unit tests as juliet.epub (full of blockquotes), grew quite a few pages with the epub.css update.
This commit is contained in:
@@ -67,7 +67,7 @@ describe("Readersearch module", function()
|
||||
it("should find the last occurrence", function()
|
||||
-- local logger = require("logger")
|
||||
-- logger.info("nb of pages", doc:getPageCount())
|
||||
-- 20180723: currently 189 pages
|
||||
-- 20181206: currently 267 pages
|
||||
for i = 100, 180, 10 do
|
||||
rolling:onGotoPage(i)
|
||||
local words = search:searchFromEnd("Verona")
|
||||
@@ -76,7 +76,7 @@ describe("Readersearch module", function()
|
||||
-- logger.info("last match on page", pageno)
|
||||
assert.truthy(pageno > 185)
|
||||
end
|
||||
for i = 230, 235, 1 do
|
||||
for i = 290, 335, 1 do
|
||||
rolling:onGotoPage(i)
|
||||
local words = search:searchFromEnd("Verona")
|
||||
assert(words == nil)
|
||||
|
||||
Reference in New Issue
Block a user