![]() |
#1 |
Diligent dilettante
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,661
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
|
SAGE: No line spacing change in epub?
I removed the Store-bought kepub version of a book and sideloaded an epub instead, the same one I've been reading on my Libra using KOReader. It's a largish file, the retail kepub was 24MB, the epub 22, so in KOReader, there is a visible delay while changes to font size, weight, margins and/or line spacing take effect. But they all DO take effect. I've discovered that on my Sage, the same file accepts changes to margins, font and font size, but not line spacing, as the attached screenshot shows. The same is true on my Libra using the Kobo stock reader - font, font size and margins all respond to changes, but line spacing does not. What would cause this?
|
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,457
Karma: 239219453
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Hard-coded line-height in the css? Have you looked at it in Sigil or the calibre editor?
There's a patch for overriding line-spacing in the css. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Diligent dilettante
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,661
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
|
Thanks, I might try that. If it is hard-coded, I wonder why it responds to line spacing changes when opened in KOReader?
|
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
You might have enabled the style tweak that bypasses line-spacing, or it might just be an odd CSS quirk (this is not my forte). The two (three if you count RMSDK) renderers work *very* differently, and they all have a different set of stock CSS and CSS bypasses, so, any "why does it work in X and not Y" question will always be answered by: "because X is not Y" ^^.
|
![]() |
![]() |
![]() |
#5 |
Diligent dilettante
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,661
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,724
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Take the ePub and go into the Calibre editor and remove all line-height lines from CSS. Then reload it and try again.Being abe to change the line spacing will work after this.
|
![]() |
![]() |
![]() |
#7 |
Diligent dilettante
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,661
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
|
I'm running KOReader on my Sage now, the epub is responding as it should to all adjustments.
|
![]() |
![]() |
![]() |
#8 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,724
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#9 |
Diligent dilettante
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,661
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
|
|
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,861
Karma: 10700629
Join Date: May 2016
Location: Canada
Device: Onyx Nova
|
Koreader kills all known css formatting dead. Beautiful. Css is nice when it does what you want. For those cases when it doesn't, there is koreader/alreaderx. I much prefer to have full control via the menu system in the reader app.
|
![]() |
![]() |
![]() |
#11 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
That's a bit heavy handed. And not necessarily true
![]() It *allows* you to (fairly) easily override what you want. (Or *all* of it at once, as we do have a "murder embedded style" button, after all ^^). The defaults are still to honor embedded styling (to the best of CRe's ability), with a fairly small set of non-moronic base styling. |
![]() |
![]() |
![]() |
#12 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,457
Karma: 239219453
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
![]() And that's why I don't like the apps that kill css. |
|
![]() |
![]() |
![]() |
#13 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,126
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I don't mind the apps that can kill CSS so much as the ones where overriding that "murder' is either not possible, buried 4 menus down and/or still override 90% of the CSS even when you have enabled honouring the CSS styles.
|
![]() |
![]() |
![]() |
#14 | |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Quote:
![]() Snark aside, it might be the only app in the world with more insane and confusing menu & settings design than us ;p. (Full disclosure: I haven't used it in years, and even then, not for long, because of the aforementioned rage-inducing behavior ![]() Last edited by NiLuJe; 11-04-2021 at 03:45 PM. |
|
![]() |
![]() |
![]() |
#15 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
|
@Uncle Robin
You can use the patch: Force user line spacing in ePubs Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Possible to change line spacing? | WDeranged | Calibre | 4 | 12-27-2020 10:45 AM |
5.0.1 Change line spacing? | Uncle Robin | Viewer | 4 | 09-30-2020 08:57 AM |
can the source file change line spacing in final epub? | Gregg Bell | Sigil | 10 | 06-02-2017 05:44 PM |
How to change the line spacing of a font | IceHand | Bookeen | 29 | 03-07-2009 03:09 AM |
Change line spacing | zartemis | Amazon Kindle | 1 | 02-26-2009 03:08 PM |