[Bug] Fixed a bug about the screen size used for comic generation.

This commit is contained in:
Li Fanxi 2010-10-28 18:26:07 +08:00
parent efcfcdc113
commit 88be38e40d
2 changed files with 3 additions and 3 deletions

View File

@ -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]

View File

@ -228,7 +228,7 @@ class SNBOutput(OutputFormatPlugin):
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