From f86229c72dd4a7e2d5a1ea389220876aa5f972ff Mon Sep 17 00:00:00 2001 From: John Schember Date: Tue, 7 Jul 2009 21:19:03 -0400 Subject: [PATCH] Cybook Opus profile. --- src/calibre/customize/profiles.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/calibre/customize/profiles.py b/src/calibre/customize/profiles.py index 45026fcb5c..9114dc9eee 100644 --- a/src/calibre/customize/profiles.py +++ b/src/calibre/customize/profiles.py @@ -110,6 +110,18 @@ class CybookG3Input(InputProfile): fbase = 16 fsizes = [12, 12, 14, 16, 18, 20, 22, 24] +class CybookOpusInput(InputProfile): + + name = 'Cybook Opus' + short_name = 'cybook_opus' + description = _('This profile is intended for the Cybook Opus.') + + # Screen size is a best guess + screen_size = (600, 800) + dpi = 200 + fbase = 16 + fsizes = [12, 12, 14, 16, 18, 20, 22, 24] + class KindleInput(InputProfile): name = 'Kindle' @@ -219,6 +231,18 @@ class CybookG3Output(OutputProfile): fbase = 16 fsizes = [12, 12, 14, 16, 18, 20, 22, 24] +class CybookOpusOutput(OutputProfile): + + name = 'Cybook Opus' + short_name = 'cybook_opus' + description = _('This profile is intended for the Cybook Opus.') + + # Screen size is a best guess + screen_size = (600, 800) + dpi = 200 + fbase = 16 + fsizes = [12, 12, 14, 16, 18, 20, 22, 24] + class KindleOutput(OutputProfile): name = 'Kindle'