mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use full page mode when printing images to PDF
This commit is contained in:
parent
4ee889d3d9
commit
9315b2bec4
@ -58,6 +58,7 @@ def get_page_layout(opts, for_comic=False):
|
||||
|
||||
margins = QMarginsF(m('left'), m('top'), m('right'), m('bottom'))
|
||||
ans = QPageLayout(page_size, QPageLayout.Portrait, margins)
|
||||
ans.setMode(QPageLayout.FullPageMode)
|
||||
return ans
|
||||
# }}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user