mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-08 06:55:33 -04:00
Fix bug 2694: run rb though preprocessor when using ebook-viewer. Tweak kindle dx comic size.
This commit is contained in:
@@ -244,7 +244,7 @@ class KindleDXOutput(OutputProfile):
|
||||
# Screen size is a best guess
|
||||
screen_size = (824, 1200)
|
||||
dpi = 150.0
|
||||
comic_screen_size = (775, 1128)
|
||||
comic_screen_size = (741, 1080)
|
||||
|
||||
@classmethod
|
||||
def tags_to_string(cls, tags):
|
||||
|
||||
@@ -135,7 +135,7 @@ class EbookIterator(object):
|
||||
plumber.opts, plumber.input_fmt, self.log,
|
||||
{}, self.base)
|
||||
|
||||
if plumber.input_fmt.lower() == 'pdf':
|
||||
if plumber.input_fmt.lower() in ('pdf', 'rb'):
|
||||
self.pathtoopf = create_oebbook(self.log, self.pathtoopf, plumber.opts,
|
||||
plumber.input_plugin)
|
||||
if hasattr(self.pathtoopf, 'manifest'):
|
||||
|
||||
Reference in New Issue
Block a user