set manual cropping if bbox exists

This commit is contained in:
chrox
2013-02-25 21:29:41 +08:00
parent 5bf9df5d15
commit 86a65003d1
2 changed files with 31 additions and 14 deletions

View File

@@ -245,7 +245,7 @@ end
function Document:hintPage(pageno, zoom, rotation, gamma, render_mode)
local hash_full_page = "renderpg|"..self.file.."|"..pageno.."|"..zoom.."|"..rotation.."|"..gamma.."|"..render_mode
if not Cache:check(hash_full_page) then
--DEBUG("hinting page", pageno)
DEBUG("hinting page", pageno)
self:renderPage(pageno, nil, zoom, rotation, gamma, render_mode)
end
end