mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-28 19:16:19 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -465,7 +465,7 @@ def set_section(col, sections, attr):
|
|||
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…
Reference in a new issue