mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:43:27 +02:00
[Bug] Fixed a bug about the screen size used for comic generation.
This commit is contained in:
parent
efcfcdc113
commit
88be38e40d
2 changed files with 3 additions and 3 deletions
|
|
@ -655,8 +655,8 @@ class BambookOutput(OutputProfile):
|
|||
description = _('This profile is intended for the Sanda Bambook.')
|
||||
|
||||
# Screen size is a best guess
|
||||
screen_size = (800, 600)
|
||||
comic_screen_size = (700, 540)
|
||||
screen_size = (600, 800)
|
||||
comic_screen_size = (540, 700)
|
||||
dpi = 168.451
|
||||
fbase = 12
|
||||
fsizes = [10, 12, 14, 16]
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ def HandleImage(self, imageData, imagePath):
|
|||
img.load(imageData)
|
||||
(x,y) = img.size
|
||||
if self.opts:
|
||||
SCREEN_Y, SCREEN_X = self.opts.output_profile.comic_screen_size
|
||||
SCREEN_X, SCREEN_Y = self.opts.output_profile.comic_screen_size
|
||||
else:
|
||||
SCREEN_X = 540
|
||||
SCREEN_Y = 700
|
||||
|
|
|
|||
Loading…
Reference in a new issue