Artefact fix
This commit is contained in:
parent
8c2440fb7a
commit
cccb1eee93
|
@ -539,7 +539,7 @@ let draw_single ~struct_tree ~fast ~underneath ~filename ~bates ~batespad range
|
||||||
map3
|
map3
|
||||||
(fun n p ops ->
|
(fun n p ops ->
|
||||||
if not (mem n range) then p else
|
if not (mem n range) then p else
|
||||||
let ops = if struct_tree then add_artifacts ops else ops in
|
let ops = if struct_tree && !do_add_artifacts then add_artifacts ops else ops in
|
||||||
let page = {p with Pdfpage.resources = update_resources pdf p.Pdfpage.resources} in
|
let page = {p with Pdfpage.resources = update_resources pdf p.Pdfpage.resources} in
|
||||||
(if underneath then Pdfpage.prepend_operators else Pdfpage.postpend_operators) pdf ops ~fast page)
|
(if underneath then Pdfpage.prepend_operators else Pdfpage.postpend_operators) pdf ops ~fast page)
|
||||||
(ilist 1 endpage)
|
(ilist 1 endpage)
|
||||||
|
|
Loading…
Reference in New Issue