mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 03:43:52 +02:00
Add iPad3 Output Profile
This commit is contained in:
parent
c694369616
commit
1d89cacb15
2 changed files with 18 additions and 2 deletions
|
|
@ -432,6 +432,15 @@ class iPadOutput(OutputProfile):
|
|||
'''
|
||||
# }}}
|
||||
|
||||
class iPad3Output(iPadOutput):
|
||||
|
||||
screen_size = comic_screen_size = (2048, 1536)
|
||||
dpi = 264.0
|
||||
name = 'iPad 3'
|
||||
short_name = 'ipad3'
|
||||
description = _('Intended for the iPad 3 and similar devices with a '
|
||||
'resolution of 1536x2048')
|
||||
|
||||
class TabletOutput(iPadOutput):
|
||||
name = 'Tablet'
|
||||
short_name = 'tablet'
|
||||
|
|
@ -755,7 +764,7 @@ class PocketBook900Output(OutputProfile):
|
|||
output_profiles = [OutputProfile, SonyReaderOutput, SonyReader300Output,
|
||||
SonyReader900Output, MSReaderOutput, MobipocketOutput, HanlinV3Output,
|
||||
HanlinV5Output, CybookG3Output, CybookOpusOutput, KindleOutput,
|
||||
iPadOutput, KoboReaderOutput, TabletOutput, SamsungGalaxy,
|
||||
iPadOutput, iPad3Output, KoboReaderOutput, TabletOutput, SamsungGalaxy,
|
||||
SonyReaderLandscapeOutput, KindleDXOutput, IlliadOutput,
|
||||
IRexDR1000Output, IRexDR800Output, JetBook5Output, NookOutput,
|
||||
BambookOutput, NookColorOutput, PocketBook900Output, GenericEink,
|
||||
|
|
|
|||
|
|
@ -242,11 +242,18 @@ class PocketBook900(PocketBook):
|
|||
|
||||
class iPhone(Device):
|
||||
|
||||
name = 'iPad or iPhone/iTouch + Stanza'
|
||||
name = 'iPhone/iTouch'
|
||||
output_format = 'EPUB'
|
||||
manufacturer = 'Apple'
|
||||
id = 'iphone'
|
||||
supports_color = True
|
||||
output_profile = 'ipad'
|
||||
|
||||
class iPad(iPhone):
|
||||
|
||||
name = 'iPad'
|
||||
id = 'ipad'
|
||||
output_profile = 'ipad3'
|
||||
|
||||
class Android(Device):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue