PDF draw rectangle only page0 reversed #912
-
for i in range(len(doc)):
doc.save(fname+"done.pdf") |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
other pages draw rect normal works |
Beta Was this translation helpful? Give feedback.
-
the page has what I call a "global geometry change" - please read the documentation here Misplaced Item Insertions on PDF Pages. |
Beta Was this translation helpful? Give feedback.
the page has what I call a "global geometry change" - please read the documentation here Misplaced Item Insertions on PDF Pages.
Detect this by checking
page.is_wrapped()
, if false executepage.wrap_contents()
.