diff --git a/src/calibre/customize/profiles.py b/src/calibre/customize/profiles.py index 27f0805f86..1df2e65f1e 100644 --- a/src/calibre/customize/profiles.py +++ b/src/calibre/customize/profiles.py @@ -4,6 +4,7 @@ __license__ = 'GPL 3' __copyright__ = '2009, Kovid Goyal ' __docformat__ = 'restructuredtext en' +import sys from itertools import izip from xml.sax.saxutils import escape @@ -417,6 +418,13 @@ class iPadOutput(OutputProfile): ''' # }}} +class TabletOutput(iPadOutput): + name = 'Tablet' + short_name = 'tablet' + description = _('Intended for generic tablet devices, does no resizing of images') + + screen_size = (sys.maxint, sys.maxint) + comic_screen_size = (sys.maxint, sys.maxint) class SonyReaderOutput(OutputProfile): @@ -664,7 +672,7 @@ class BambookOutput(OutputProfile): output_profiles = [OutputProfile, SonyReaderOutput, SonyReader300Output, SonyReader900Output, MSReaderOutput, MobipocketOutput, HanlinV3Output, HanlinV5Output, CybookG3Output, CybookOpusOutput, KindleOutput, - iPadOutput, KoboReaderOutput, + iPadOutput, KoboReaderOutput, TabletOutput, SonyReaderLandscapeOutput, KindleDXOutput, IlliadOutput, IRexDR1000Output, IRexDR800Output, JetBook5Output, NookOutput, BambookOutput, ]