mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
added output conversion support for PocketBook Pro 900
This commit is contained in:
parent
c2feceffb0
commit
248f736546
@ -653,6 +653,18 @@ class KindleDXOutput(OutputProfile):
|
|||||||
return u'%s <br/><span style="color: white">%s</span>' % (', '.join(tags),
|
return u'%s <br/><span style="color: white">%s</span>' % (', '.join(tags),
|
||||||
'ttt '.join(tags)+'ttt ')
|
'ttt '.join(tags)+'ttt ')
|
||||||
|
|
||||||
|
|
||||||
|
class PocketBook900Output(OutputProfile):
|
||||||
|
|
||||||
|
author = 'Chris Lockfort'
|
||||||
|
name = 'PocketBook Pro 900'
|
||||||
|
short_name = 'pocketbook_900'
|
||||||
|
description = _('This profile is intended for the PocketBook Pro 900 series of devices.')
|
||||||
|
|
||||||
|
screen_size = (810, 1180)
|
||||||
|
dpi = 150.0
|
||||||
|
comic_screen_size = screen_size
|
||||||
|
|
||||||
class IlliadOutput(OutputProfile):
|
class IlliadOutput(OutputProfile):
|
||||||
|
|
||||||
name = 'Illiad'
|
name = 'Illiad'
|
||||||
@ -737,6 +749,6 @@ output_profiles = [OutputProfile, SonyReaderOutput, SonyReader300Output,
|
|||||||
iPadOutput, KoboReaderOutput, TabletOutput, SamsungGalaxy,
|
iPadOutput, KoboReaderOutput, TabletOutput, SamsungGalaxy,
|
||||||
SonyReaderLandscapeOutput, KindleDXOutput, IlliadOutput,
|
SonyReaderLandscapeOutput, KindleDXOutput, IlliadOutput,
|
||||||
IRexDR1000Output, IRexDR800Output, JetBook5Output, NookOutput,
|
IRexDR1000Output, IRexDR800Output, JetBook5Output, NookOutput,
|
||||||
BambookOutput, NookColorOutput, GenericEink, GenericEinkLarge]
|
BambookOutput, NookColorOutput, GenericEink, GenericEinkLarge, PocketBook900Output]
|
||||||
|
|
||||||
output_profiles.sort(cmp=lambda x,y:cmp(x.name.lower(), y.name.lower()))
|
output_profiles.sort(cmp=lambda x,y:cmp(x.name.lower(), y.name.lower()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user