mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 08:06:53 +01:00
Kindle Fire Output Profile
This commit is contained in:
parent
5a9bf6f34f
commit
d75a55f775
2 changed files with 10 additions and 0 deletions
|
|
@ -652,6 +652,15 @@ def tags_to_string(cls, tags):
|
|||
return u'%s <br/><span style="color: white">%s</span>' % (', '.join(tags),
|
||||
'ttt '.join(tags)+'ttt ')
|
||||
|
||||
class KindleFireOutput(KindleDXOutput):
|
||||
|
||||
name = 'Kindle Fire'
|
||||
short_name = 'kindle_fire'
|
||||
description = _('This profile is intended for the Amazon Kindle Fire.')
|
||||
|
||||
screen_size = (570, 1016)
|
||||
dpi = 150.0
|
||||
comic_screen_size = (570, 1016)
|
||||
|
||||
class IlliadOutput(OutputProfile):
|
||||
|
||||
|
|
|
|||
|
|
@ -110,6 +110,7 @@ class KindleDX(Kindle):
|
|||
class KindleFire(KindleDX):
|
||||
name = 'Kindle Fire'
|
||||
id = 'kindle_fire'
|
||||
output_profile = 'kindle_fire'
|
||||
|
||||
class Sony505(Device):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue