mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Pull from trunk
This commit is contained in:
commit
8cba3da99a
@ -94,6 +94,7 @@ class PDFOutput(OutputFormatPlugin, CoverManagerPDF):
|
|||||||
self.log.debug('Serializing oeb input to disk for processing...')
|
self.log.debug('Serializing oeb input to disk for processing...')
|
||||||
self.opts.no_svg_cover = True
|
self.opts.no_svg_cover = True
|
||||||
self.opts.no_default_epub_cover = True
|
self.opts.no_default_epub_cover = True
|
||||||
|
self.opts.preserve_cover_aspect_ratio= False
|
||||||
self.setup_cover(self.opts)
|
self.setup_cover(self.opts)
|
||||||
self.insert_cover()
|
self.insert_cover()
|
||||||
with TemporaryDirectory('_pdf_out') as oeb_dir:
|
with TemporaryDirectory('_pdf_out') as oeb_dir:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user