mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add koptinterface spec
This commit is contained in:
@@ -206,6 +206,7 @@ function KoptInterface:getCachedContext(doc, pageno)
|
||||
-- If kctx is not cached, create one and get reflowed bmp in foreground.
|
||||
local kc = self:createContext(doc, pageno, bbox)
|
||||
local page = doc._document:openPage(pageno)
|
||||
DEBUG("reflowing page", pageno, "in foreground")
|
||||
-- reflow page
|
||||
--local secs, usecs = util.gettime()
|
||||
page:reflow(kc, 0)
|
||||
|
||||
Reference in New Issue
Block a user