![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2025
Device: Kindle PW5SE
|
Fixed Layout EPUB to PDF Failure
Hello,
i am pulling my hair out trying to get this book to convert. It should never have been created as an EPUB in the first place, as every page has a background image that covers 100% of the page, and all the text is designed to precisely overlay those graphics. As a result, it renders horrifically on my Kindle (jailbroken with KOReader). Rant aside, please help! I have attached an epub that renders correctly in Calibre 8.7.0 that contains only the table of contents page. I have edited this using the built-in epub editor, and running "Check book" comes back error free. Reading this epub in Calibre produces the following page: ![]() However, the PDF output is atrocious (But it does seem to match the rendering inside of KOReader): ![]() I am attempting the conversion from the command line using the following command: Code:
ebook-convert 'Minecraft_ Guide to Combat - Mojang Ab.epub' .pdf -u devicepixel --custom-size 838x1188 --disable-font-rescaling --embed-all-fonts -vv -d ./Debug --pdf-page-margin-right=0 --pdf-page-margin-left=0 --pdf-page-margin-bottom=0 --pdf-page-margin-top=0 --pdf-no-cover --uncompressed-pdf Code:
#spread_6-div-1 { -webkit-transform: translate(0, 0) rotate(0deg) skew(0deg) scale(1, 1); -webkit-transform-origin: 0% 0%; height: 1188px; left: 0; position: absolute; top: 0; transform: translate(0, 0) rotate(0deg) skew(0deg) scale(1, 1); transform-origin: 0% 0%; width: 838px; } In looking through the debug output, the html generated at the processed step renders the same in Calibre as the input epub. I converted to epub as follows and imported it into Calibre Code:
cd Debug/processed zip -r processed.epub * ![]() |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,373
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre does not support fixed layout books.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2025
Device: Kindle PW5SE
|
In what way does Calibre not support them? The viewer is rendering the book correctly, and all of the processing steps up until PDF output seem to be preserving the properly formatted EPUB. What is the rendering engine for this final step?
Thanks for your prompt initial reply! I'm really hoping to find a way to make this book usable for my kid. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,373
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It doesnt support them in any way. If it happens to work in the viewer, that is entirely accidental.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2025
Device: Kindle PW5SE
|
Ahhh, understood. I will enjoy the happy accident of it working in the viewer then. Thanks so much! Calibre is one of the greatest pieces of software ever, and makes having a library of ebooks possible and enjoyable.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2025
Device: Kindle PW5SE
|
Solved!! Admittedly, not entirely within the framework of Calibre, but worth documenting for others. Here are the steps that I took:
|
![]() |
![]() |
![]() |
Tags |
failed convert, fixed layout epubs, pdf |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting a Fixed Layout EPUB to Searchable PDF [Graphical Guide] | Mercury's Priest | 4 | 05-18-2024 09:12 AM | |
Pdf to fixed layout epub | scissors | Workshop | 18 | 02-16-2021 03:35 PM |
From PDF to EPUB 3 Fixed Layout with selectable text | Chang | ePub | 1 | 05-09-2017 03:37 AM |
Fixed layout epub | curiousgeorge | ePub | 3 | 01-18-2013 04:27 PM |
Fixed-layout epub | bhuvana786 | ePub | 2 | 04-07-2011 08:00 AM |