Fix #5590 (PDF convert failure)

This commit is contained in:
Kovid Goyal 2010-05-22 09:42:24 -06:00
parent 7e56edf946
commit 16a804c0e2

View File

@ -94,6 +94,7 @@ class PDFOutput(OutputFormatPlugin, CoverManagerPDF):
self.log.debug('Serializing oeb input to disk for processing...')
self.opts.no_svg_cover = True
self.opts.no_default_epub_cover = True
self.opts.preserve_cover_aspect_ratio= False
self.setup_cover(self.opts)
self.insert_cover()
with TemporaryDirectory('_pdf_out') as oeb_dir: