bump crengine: count nb of images drawn & others (#4542)

Includes:
- Update french hyphenation pattern
- epub.css: update style for 'blockquote'
- DrawBuf: count nb of images and surface drawn

Adds Document:getDrawnImagesStatistics() to help deciding
if refresh with (possibly costly) dithering should be used
(on devices with HW dithering capabilities) with CreDocument:
when a page contains enough images to benefit from it.
This commit is contained in:
poire-z
2019-02-03 11:25:34 +01:00
committed by GitHub
parent 895589ddaa
commit f2a9ed0b79
6 changed files with 14 additions and 9 deletions

View File

@@ -66,8 +66,8 @@ describe("Readersearch module", function()
end)
it("should find the last occurrence", function()
-- local logger = require("logger")
-- logger.info("nb of pages", doc:getPageCount())
-- 20181208: currently 266 pages
-- logger.warn("nb of pages", doc:getPageCount())
-- 20190202: currently 242 pages
for i = 100, 180, 10 do
rolling:onGotoPage(i)
local words = search:searchFromEnd("Verona")