mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ensure only the contents and not scrollbars/pan icon are rendered in the PDF backend
This commit is contained in:
parent
492b10b86a
commit
4f025790e5
@ -465,7 +465,7 @@ class PDFWriter(QObject):
|
||||
self.load_header_footer_images()
|
||||
|
||||
self.painter.save()
|
||||
mf.render(self.painter)
|
||||
mf.render(self.painter, mf.ContentsLayer)
|
||||
self.painter.restore()
|
||||
try:
|
||||
nsl = int(evaljs('paged_display.next_screen_location()'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user