Conversion: New Output profile for the Kindle Scribe. Fixes #1998780 [New device support: Amazon Kindle Scribe](https://bugs.launchpad.net/calibre/+bug/1998780)

This commit is contained in:
Kovid Goyal 2022-12-13 20:56:53 +05:30
parent 0d3dc639ad
commit 0891b2f7ff
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -750,6 +750,18 @@ class KindleOasisOutput(KindlePaperWhite3Output):
comic_screen_size = screen_size
class KindleScribeOutput(KindlePaperWhite3Output):
name = 'Kindle Scribe'
short_name = 'kindle_scribe'
description = _('This profile is intended for the Amazon Kindle Scribe 2022 and above')
# Screen size is currently just the spec size, actual renderable area will
# depend on someone with the device doing tests.
screen_size = (1860, 2480)
dpi = 300.0
comic_screen_size = screen_size
class KindleFireOutput(KindleDXOutput):
name = 'Kindle Fire'
@ -901,7 +913,7 @@ output_profiles = [
PocketBookPro912Output, PocketBookLuxOutput, PocketBookHDOutput,
PocketBookInkpad3Output, GenericEink, GenericEinkLarge, GenericEinkHD,
KindleFireOutput, KindlePaperWhiteOutput, KindleVoyageOutput,
KindlePaperWhite3Output, KindleOasisOutput
KindlePaperWhite3Output, KindleOasisOutput, KindleScribeOutput,
]
output_profiles.sort(key=lambda x: x.name.lower())