Shamelessly copied from the 'Kindle Fire' profile, and modified the things I'm sure of
Code:
class KindleFireHDX7Output(KindleDXOutput):
name = 'Kindle Fire HDX 7'
short_name = 'kindle_fire_hdx_7'
description = _('This profile is intended for the Amazon Kindle Fire HDX 7.')
screen_size = (1200, 1920)
dpi = 323.0
comic_screen_size = (1200, 1920)
@classmethod
def tags_to_string(cls, tags):
# The idiotic fire doesn't obey the color:white directive
from xml.sax.saxutils import escape
return escape(', '.join(tags))
class KindleFireHDX89Output(KindleDXOutput):
name = 'Kindle Fire HDX 8.9'
short_name = 'kindle_fire_hdx_8_9'
description = _('This profile is intended for the Amazon Kindle Fire HDX 8.9.')
screen_size = (1600, 2560)
dpi = 339.0
comic_screen_size = (1600, 2560)
@classmethod
def tags_to_string(cls, tags):
# The idiotic fire doesn't obey the color:white directive
from xml.sax.saxutils import escape
return escape(', '.join(tags))