mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Add PocketBook Pro 912 driver. Fixes #1099571 (Patch for adding support for pocket book pro 912)
This commit is contained in:
commit
d9ae243f12
@ -770,13 +770,25 @@ class PocketBook900Output(OutputProfile):
|
||||
dpi = 150.0
|
||||
comic_screen_size = screen_size
|
||||
|
||||
class PocketBookPro912Output(OutputProfile):
|
||||
|
||||
author = 'Daniele Pizzolli'
|
||||
name = 'PocketBook Pro 912'
|
||||
short_name = 'pocketbook_pro_912'
|
||||
description = _('This profile is intended for the PocketBook Pro 912 series of devices.')
|
||||
|
||||
# According to http://download.pocketbook-int.com/user-guides/E_Ink/912/User_Guide_PocketBook_912(EN).pdf
|
||||
screen_size = (825, 1200)
|
||||
dpi = 155.0
|
||||
comic_screen_size = screen_size
|
||||
|
||||
output_profiles = [OutputProfile, SonyReaderOutput, SonyReader300Output,
|
||||
SonyReader900Output, MSReaderOutput, MobipocketOutput, HanlinV3Output,
|
||||
HanlinV5Output, CybookG3Output, CybookOpusOutput, KindleOutput,
|
||||
iPadOutput, iPad3Output, KoboReaderOutput, TabletOutput, SamsungGalaxy,
|
||||
SonyReaderLandscapeOutput, KindleDXOutput, IlliadOutput,
|
||||
IRexDR1000Output, IRexDR800Output, JetBook5Output, NookOutput,
|
||||
BambookOutput, NookColorOutput, PocketBook900Output, GenericEink,
|
||||
GenericEinkLarge, KindleFireOutput, KindlePaperWhiteOutput]
|
||||
BambookOutput, NookColorOutput, PocketBook900Output, PocketBookPro912Output,
|
||||
GenericEink, GenericEinkLarge, KindleFireOutput, KindlePaperWhiteOutput]
|
||||
|
||||
output_profiles.sort(cmp=lambda x,y:cmp(x.name.lower(), y.name.lower()))
|
||||
|
@ -234,7 +234,7 @@ class POCKETBOOK301(USBMS):
|
||||
class POCKETBOOK602(USBMS):
|
||||
|
||||
name = 'PocketBook Pro 602/902 Device Interface'
|
||||
description = _('Communicate with the PocketBook 602/603/902/903 reader.')
|
||||
description = _('Communicate with the PocketBook 602/603/902/903/Pro 912 reader.')
|
||||
author = 'Kovid Goyal'
|
||||
supported_platforms = ['windows', 'osx', 'linux']
|
||||
FORMATS = ['epub', 'fb2', 'prc', 'mobi', 'pdf', 'djvu', 'rtf', 'chm',
|
||||
@ -249,7 +249,7 @@ class POCKETBOOK602(USBMS):
|
||||
|
||||
VENDOR_NAME = ''
|
||||
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = ['PB602', 'PB603', 'PB902',
|
||||
'PB903', 'PB']
|
||||
'PB903', 'Pocket912', 'PB']
|
||||
|
||||
class POCKETBOOK622(POCKETBOOK602):
|
||||
|
||||
|
@ -245,6 +245,13 @@ class PocketBook900(PocketBook):
|
||||
id = 'pocketbook900'
|
||||
output_profile = 'pocketbook_900'
|
||||
|
||||
class PocketBookPro912(PocketBook):
|
||||
|
||||
name = 'PocketBook Pro 912'
|
||||
id = 'pocketbookpro912'
|
||||
output_profile = 'pocketbook_pro_912'
|
||||
|
||||
|
||||
class iPhone(Device):
|
||||
|
||||
name = 'iPhone/iTouch'
|
||||
|
Loading…
x
Reference in New Issue
Block a user