kopt: color support
Keep colors when reflowing documents.
This commit is contained in:
1 parent
cb002f3d1f
commit
0c17941ffb
5 files changed
+14
-36
No files matched your search
@@ -169,6 +169,7 @@ function KoptInterface:getContextHash(doc, pageno, bbox, hash_list)
|
||||
local canvas_size = CanvasContext:getSize()
|
||||
table.insert(hash_list, doc.file)
|
||||
table.insert(hash_list, doc.mod_time)
|
||||
table.insert(hash_list, doc.render_color and 'color' or 'bw')
|
||||
table.insert(hash_list, pageno)
|
||||
doc.configurable:hash(hash_list)
|
||||
table.insert(hash_list, bbox.x0)
|
||||
|
||||
Reference in new issue
Block a user