add koptinterface spec

This commit is contained in:
chrox
2015-10-07 22:42:12 +08:00
parent 970f9a7801
commit 54f5166254
5 changed files with 118 additions and 1 deletions

View File

@@ -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)