Ensure only the contents and not scrollbars/pan icon are rendered in the PDF backend

This commit is contained in:
Kovid Goyal 2018-09-12 08:21:13 +05:30
parent 492b10b86a
commit 4f025790e5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -465,7 +465,7 @@ class PDFWriter(QObject):
self.load_header_footer_images() self.load_header_footer_images()
self.painter.save() self.painter.save()
mf.render(self.painter) mf.render(self.painter, mf.ContentsLayer)
self.painter.restore() self.painter.restore()
try: try:
nsl = int(evaljs('paged_display.next_screen_location()')) nsl = int(evaljs('paged_display.next_screen_location()'))