|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Oct 2011
Device: PW2 3G, KV 3G
|
Generated column width in paged mode extremely narrow if font-size: 0;
I just got a book with a series of images at the beginning that showed up as postage-stamp size in the bundled viewer when in paged mode, but OK in other clients and in the viewer when in continuous mode. Some investigation with the viewer's built-in inspector showed that the generated column-width of the iframe was some extremely small number, like 34px instead of equivalent to the width of the viewer area.
Crucially, this did not happen for the cover or for regular text. Comparison of the cover's xhtml file with that of the subsequent images showed that the cover page's xhtml did not import any CSS, whereas the files of those images that showed up in an extremely constricted column, did. The CSS file in question was very short: Code:
@charset "UTF-8"; html, body { margin: 0; padding: 0; font-size: 0; } svg { margin: 0; padding: 0; } Calibre version: 6.5.0 OS: Windows 10 Pro 10.0.19044.2006 ("21H2") The book in question is originally an AZW3 from which an EPUB was extracted with the KindleUnpack plugin. This behavior presents itself with both formats. Cross-posted to launchpad Last edited by LastSilmaril; 09-21-2022 at 07:42 PM. Reason: added link |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Anyway to change font size or margin in Reflow mode with double column? | virgiliod | KOReader | 1 | 09-06-2018 12:58 PM |
Narrow text width, double spacing | R71986 | Conversion | 12 | 06-20-2014 12:20 PM |
Is paged mode supposed to work this way? | knghcm | Library Management | 5 | 03-24-2014 12:05 AM |
0.8.61 Paged Mode | mXb | Library Management | 6 | 07-27-2012 04:26 AM |
0.8.61: E-book viewer - paged mode, I like it | DrChiper | Calibre | 17 | 07-23-2012 06:44 AM |