diff --git a/src/calibre/constants.py b/src/calibre/constants.py index 62f724b7b4..01bfc4ca0b 100644 --- a/src/calibre/constants.py +++ b/src/calibre/constants.py @@ -2,7 +2,7 @@ __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __appname__ = 'calibre' -__version__ = '0.6.1' +__version__ = '0.6.2' __author__ = "Kovid Goyal " import re diff --git a/src/calibre/customize/profiles.py b/src/calibre/customize/profiles.py index a6ffc2f243..757cd09b19 100644 --- a/src/calibre/customize/profiles.py +++ b/src/calibre/customize/profiles.py @@ -199,6 +199,17 @@ class SonyReaderOutput(OutputProfile): fbase = 12 fsizes = [7.5, 9, 10, 12, 15.5, 20, 22, 24] +class JetBook5Output(OutputProfile): + + name = 'JetBook 5-inch' + short_name = 'jetbook5' + description = _('This profile is intended for the 5-inch JetBook.') + + screen_size = (480, 640) + dpi = 168.451 + + + class SonyReaderLandscapeOutput(SonyReaderOutput): name = 'Sony Reader Landscape' @@ -334,4 +345,4 @@ class IRexDR1000Output(OutputProfile): output_profiles = [OutputProfile, SonyReaderOutput, MSReaderOutput, MobipocketOutput, HanlinV3Output, CybookG3Output, CybookOpusOutput, KindleOutput, SonyReaderLandscapeOutput, KindleDXOutput, IlliadOutput, - IRexDR1000Output] + IRexDR1000Output, JetBook5Output] diff --git a/src/calibre/ebooks/epub/output.py b/src/calibre/ebooks/epub/output.py index 6e09c7e6d9..18009a9a9f 100644 --- a/src/calibre/ebooks/epub/output.py +++ b/src/calibre/ebooks/epub/output.py @@ -108,11 +108,16 @@ class EPUBOutput(OutputFormatPlugin): %(title)s