[feat] Add MuPDF EPUB/FB2 dynamic font size (#5282)

Closes #4368.
This commit is contained in:
Frans de Jonge
2019-08-30 13:47:51 +02:00
committed by GitHub
parent f6270278aa
commit f1f6eebce0
9 changed files with 60 additions and 18 deletions

View File

@@ -310,6 +310,7 @@ end
function Document:getFullPageHash(pageno, zoom, rotation, gamma, render_mode, color)
return "renderpg|"..self.file.."|"..self.mod_time.."|"..pageno.."|"
..zoom.."|"..rotation.."|"..gamma.."|"..render_mode..(color and "|color" or "")
..(self.reflowable_font_size and "|"..self.reflowable_font_size or "")
end
function Document:renderPage(pageno, rect, zoom, rotation, gamma, render_mode)