From 0891b2f7ff89f379b7cd3c5271066172dfc51de7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 13 Dec 2022 20:56:53 +0530 Subject: [PATCH] Conversion: New Output profile for the Kindle Scribe. Fixes #1998780 [New device support: Amazon Kindle Scribe](https://bugs.launchpad.net/calibre/+bug/1998780) --- src/calibre/customize/profiles.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/calibre/customize/profiles.py b/src/calibre/customize/profiles.py index 5eae676ab6..318d54f30e 100644 --- a/src/calibre/customize/profiles.py +++ b/src/calibre/customize/profiles.py @@ -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())