mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix bug 2694: run rb though preprocessor when using ebook-viewer. Tweak kindle dx comic size.
This commit is contained in:
parent
12bce0197b
commit
5b8ec44fc7
@ -244,7 +244,7 @@ class KindleDXOutput(OutputProfile):
|
|||||||
# Screen size is a best guess
|
# Screen size is a best guess
|
||||||
screen_size = (824, 1200)
|
screen_size = (824, 1200)
|
||||||
dpi = 150.0
|
dpi = 150.0
|
||||||
comic_screen_size = (775, 1128)
|
comic_screen_size = (741, 1080)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tags_to_string(cls, tags):
|
def tags_to_string(cls, tags):
|
||||||
|
@ -135,7 +135,7 @@ class EbookIterator(object):
|
|||||||
plumber.opts, plumber.input_fmt, self.log,
|
plumber.opts, plumber.input_fmt, self.log,
|
||||||
{}, self.base)
|
{}, 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,
|
self.pathtoopf = create_oebbook(self.log, self.pathtoopf, plumber.opts,
|
||||||
plumber.input_plugin)
|
plumber.input_plugin)
|
||||||
if hasattr(self.pathtoopf, 'manifest'):
|
if hasattr(self.pathtoopf, 'manifest'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user