![]() |
#46 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
Quote:
With margin set to 0: ![]() With margin set to 0.5: ![]() With margin set to 5.0em: ![]() And, here's a link to one of the books: https://drive.google.com/file/d/1NdG...ew?usp=sharing |
|
![]() |
![]() |
![]() |
#47 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
Of course, in Calibre's Viewer, the margins set in the book override those set in the viewer. So, the issue still remains.
EDIT: Also, I only tested using a kepub on the standard kepub viewer on the Forma. I have no idea how things behave with epubs or other viewers that might be on the device. Last edited by enuddleyarbl; 09-02-2022 at 11:21 AM. |
![]() |
![]() |
![]() |
#49 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
EDIT: I only make epub3. I don't know much about kepub but apparently epub3 can only be read by the kepub reader on Kobo. Last edited by bookman156; 09-02-2022 at 11:38 AM. |
|
![]() |
![]() |
![]() |
#50 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,822
Karma: 168959602
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Kobo could use the file version to trigger selecting the renderer but that would also require handling an epub3 file with Adobe DRM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#51 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#52 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,822
Karma: 168959602
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
There are also differences in font handling, CSS support, etc. between the two renderers. This has led to near religious arguments over which is better though for the most part, most people would probably not notice all that much difference (IMNSHO). |
|
![]() |
![]() |
![]() |
#53 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
I see. So though Kobo supports epub3, it wouldn't be able to tell whether an epub3 with Adobe encryption was epub 2 or 3. But for an epub3 without any DRM no problem.
|
![]() |
![]() |
![]() |
#54 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,776
Karma: 103362673
Join Date: Apr 2011
Device: pb360
|
What happens when margin is not specified at all for body text?
|
![]() |
![]() |
![]() |
#55 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,822
Karma: 168959602
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Basically, using the file extension to decide which renderer to use is simpler and allows you to force which renderer to use. |
|
![]() |
![]() |
![]() |
#56 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
I removed my @page and body classes entirely from the stylesheet (so no margins or anything else set to anything specific). AFAICS, it looks the same on my Forma as it did with the @page and body styles present. So, for kepubs on a Forma, it looks like the margin settings on the device override those set in the book. Heck, it looks like the Forma overrides everything I had in my body classes.
Also, with my previous testing, I had an html set of styles set in that stylesheet (it was set on the body styling): https://www.mobileread.com/forums/sh...d.php?t=348891 With that present, the Calibre Viewer used the margins set in the book over the margins set for the Viewer. But, when I removed the html styles, the behavior became the same as for the Kobo: the Calibre Viewer used its margin settings instead of the books'. Last edited by enuddleyarbl; 09-02-2022 at 03:42 PM. |
![]() |
![]() |
![]() |
#57 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,621
Karma: 145864263
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#58 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,822
Karma: 168959602
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Last edited by DNSB; 09-02-2022 at 10:28 PM. |
|
![]() |
![]() |
![]() |
#59 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,822
Karma: 168959602
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Depends on what epub3 features are used. Most of the ebooks and library ebooks I get these days are epub3. RMSDK disregards the accessibility bits and bobs and renders them quite happily despite them being DRMmed.
|
![]() |
![]() |
![]() |
#60 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,621
Karma: 145864263
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
As was said by @DNSB, the margins for ePub are not overridden. You can only add to them. So if you have say a 1em L/R margin, that becomes your minimum margin. So please, leave the margins alone and set them to 0.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Top-margin (bottom-margin?) for Kobo? | Notjohn | Sigil | 14 | 02-28-2015 06:43 AM |
CSS: margin-top and margin | Leonatus | ePub | 16 | 06-16-2014 04:29 AM |
CSS margin instead of margin-top, etc. | icallaci | Conversion | 24 | 10-19-2013 09:52 AM |
New conversion questions: Getting rid of huge left margin Epub to Mobi | geekgeek | Calibre | 2 | 08-31-2010 11:00 PM |
calibre ignore margin-top and margin-bottom | bender | Calibre | 2 | 12-11-2009 06:58 AM |