mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-09 17:44:45 +01:00
Get rid of --old-pdf-engine as it is not maintained
This commit is contained in:
parent
6a0959572c
commit
ca08d4dec9
1 changed files with 1 additions and 7 deletions
|
|
@ -97,8 +97,6 @@ class PDFOutput(OutputFormatPlugin):
|
|||
'The default font size for monospaced text')),
|
||||
OptionRecommendation(name='pdf_mark_links', recommended_value=False,
|
||||
help=_('Surround all links with a red box, useful for debugging.')),
|
||||
OptionRecommendation(name='old_pdf_engine', recommended_value=False,
|
||||
help=_('Use the old, less capable engine to generate the PDF')),
|
||||
OptionRecommendation(name='uncompressed_pdf',
|
||||
recommended_value=False, help=_(
|
||||
'Generate an uncompressed PDF, useful for debugging, '
|
||||
|
|
@ -216,11 +214,7 @@ def process_fonts(self):
|
|||
|
||||
def convert_text(self, oeb_book):
|
||||
from calibre.ebooks.metadata.opf2 import OPF
|
||||
if self.opts.old_pdf_engine:
|
||||
from calibre.ebooks.pdf.writer import PDFWriter
|
||||
PDFWriter
|
||||
else:
|
||||
from calibre.ebooks.pdf.render.from_html import PDFWriter
|
||||
from calibre.ebooks.pdf.render.from_html import PDFWriter
|
||||
|
||||
self.log.debug('Serializing oeb input to disk for processing...')
|
||||
self.get_cover_data()
|
||||
|
|
|
|||
Loading…
Reference in a new issue