01-17-2023, 07:23 AM | #1 |
Connoisseur
Posts: 58
Karma: 2112464
Join Date: Aug 2014
Device: Kobo Glo HD
|
Margins in fixed layout epub
Hello there,
I recently bought an epub that, I think, turned out to be a fixed size epub. It's an epub file alright, I can open it in calibre book editor and select text and stuff. Once once my kobo tho, it behaves like a PDF: I can only do manual zooming, I can't edit the font, change size, or anything. Unfortunately, the fixed layout include HUGE margins that makes the text much smaller than I'd like too. Is there a simple way to remove the fixed layout it, or at least a way to reduce the margins myself ? Thanks ! |
01-17-2023, 10:59 AM | #2 |
Bibliophagist
Posts: 36,462
Karma: 145748884
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
There is no easy way to do that on a fixed layout epub. Every character and image has a fixed location. Converting a fixed layout epub to reflowable is not an easy task and, IMHO, from the two times I've attempted to do so is not worth the effort since it totally trashed the page layout.
|
Advert | |
|
01-17-2023, 11:16 AM | #3 |
Evangelist
Posts: 483
Karma: 2267928
Join Date: Nov 2015
Device: none
|
Usually, the contents of fixed-layout books is in the logical reading order. In that case, you can use the usual PDF methods of converting the text into flowing layout.
|
01-17-2023, 11:40 AM | #4 |
Connoisseur
Posts: 58
Karma: 2112464
Join Date: Aug 2014
Device: Kobo Glo HD
|
Thanks you for your answers.
I checked the html code and indeed, every single page has its own single css file and everything is at a fixed position. Gettting a reflowable text will be too hard. Now I'm only trying to figure out a hack to get a "cropped" version? Is there a tool to convert the fixed-layout epub to a pdf ? So that I can then use a pdf cropping tool. |
01-17-2023, 12:01 PM | #5 |
the rook, bossing Never.
Posts: 11,552
Karma: 87456643
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Try exporting from Calibre as docx or rtf?
Or if you have a desktop viewer that can print and display FXL epub, then print to PDF. |
Advert | |
|
01-17-2023, 04:30 PM | #6 |
Connoisseur
Posts: 58
Karma: 2112464
Join Date: Aug 2014
Device: Kobo Glo HD
|
I tried, but the conversion / print to pdf seems lost in an infinite loop.
|
01-17-2023, 09:37 PM | #7 |
creator of calibre
Posts: 43,987
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
fixed layout epubs are not supported in calibre so you are not going to get anything useful from it.
|
01-19-2023, 03:22 AM | #8 |
Connoisseur
Posts: 58
Karma: 2112464
Join Date: Aug 2014
Device: Kobo Glo HD
|
Ah, ok
The ebook viewer and ebook editor do seem to display it correctly (altho the viewer can't reduce the viewport size), so I was hoping one of them could somehow dump it to pdf or even images. Well then, I'll try to hunt down a physical version Thanks ! |
01-19-2023, 03:42 AM | #9 |
the rook, bossing Never.
Posts: 11,552
Karma: 87456643
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
You tried Print from the viewer? That simply makes a PDF file with my ebooks (Linux) with Calibre Viewer, but I have no FXL epubs.
|
01-19-2023, 06:30 AM | #10 |
Custom User Title
Posts: 8,785
Karma: 62032371
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
01-19-2023, 08:01 AM | #11 |
want to learn what I want
Posts: 1,041
Karma: 6422750
Join Date: Sep 2020
Device: Calibre E-book viewer
|
FWIW, I would try opening the file on Calibre Editor (a backup of the original EPUB, of course), and removing all .css files. Save. See how it looks on the reader. Afterwards maybe create a new minimal CSS stylesheet file with rules for general elements like <p> and perhaps <div>...
|
01-20-2023, 11:52 AM | #12 | |
Connoisseur
Posts: 58
Karma: 2112464
Join Date: Aug 2014
Device: Kobo Glo HD
|
Quote:
I'm fairly sure that removing all the css files would just break all furigana. I tried. The conversion gets stuck at some point. Or maybe it just takes 4 hours. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pdf to fixed layout epub | scissors | Workshop | 18 | 02-16-2021 03:35 PM |
EPUB Fixed-Layout Style | grailbeltran | ePub | 0 | 01-27-2014 02:01 AM |
Fixed layout epub | curiousgeorge | ePub | 3 | 01-18-2013 04:27 PM |
Images as fixed layout epub | Dillinquent | ePub | 6 | 06-10-2011 02:22 PM |
Fixed-layout epub | bhuvana786 | ePub | 2 | 04-07-2011 08:00 AM |