![]() |
#31 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,985
Karma: 219221630
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
|
![]() |
![]() |
![]() |
#32 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 763
Karma: 8835684
Join Date: Sep 2022
Device: Kobo Libra 2
|
Here's an example of three consecutive pages. Pages 1 and 3 have 20 lines of text, but page 2 has only 19 lines. Perhaps the problem is that if there is more than one new paragraph on the same page, it takes up enough extra space that line 20 won't fit. The last line on page 1 is 12 pixels closer to the edge than on page 3, which is all one paragraph.
|
![]() |
![]() |
Advert | |
|
![]() |
#33 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,985
Karma: 219221630
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#34 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 763
Karma: 8835684
Join Date: Sep 2022
Device: Kobo Libra 2
|
What CSS nonsense is the cause of this particular behaviour?
|
![]() |
![]() |
![]() |
#35 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,137
Karma: 16059044
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
![]() |
![]() |
Advert | |
|
![]() |
#36 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 72,474
Karma: 125182049
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I get rid of paragraph spaces. Here is the code I use for <p>. I also get rid of <p class="someclassIdonotneed"> for the majority of paragraph styles. But if you do have something such as <p class="tx"> here is c.tx that doesn't have paragraph space. Code:
p { margin-top: 0; margin-bottom: 0; text-indent: 1.2em; .tx { margin-top: 0; margin-bottom: 0; text-indent: 1.2em; } Last edited by JSWolf; 07-01-2023 at 07:10 PM. |
|
![]() |
![]() |
![]() |
#37 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35
Karma: 1088351
Join Date: Dec 2021
Device: Kobo Libra 2
|
Yeah, in my experience, 8 out of 10 sideloaded books have these ugly spaces. For years now I have been using this code when converting to kepub with Kepubify! An absolute must.
|
![]() |
![]() |
![]() |
#38 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 72,474
Karma: 125182049
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#39 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 763
Karma: 8835684
Join Date: Sep 2022
Device: Kobo Libra 2
|
Is this something that you can override in KOReader? If I could configure such settings to automatically apply to all of my books, instead of having to manually edit them one by one, it might be enough for me to switch over from Nickel.
![]() |
![]() |
![]() |
![]() |
#40 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 72,474
Karma: 125182049
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
No idea. I edit the CSS. It's very easy to dump paragraph spaces.
|
![]() |
![]() |
![]() |
Tags |
kobopatch, patch, patch32lsb, patches, patching |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.18.0 | GeoffR | Kobo Developer's Corner | 151 | 10-21-2016 07:15 AM |
Instructions for patching firmware 3.13.1 | GeoffR | Kobo Developer's Corner | 56 | 07-01-2016 10:59 AM |
Instructions for patching firmware 3.15.0 | GeoffR | Kobo Developer's Corner | 146 | 05-24-2016 07:10 AM |
Instructions for patching firmware 3.12.1 | GeoffR | Kobo Developer's Corner | 56 | 03-20-2015 06:14 AM |
Instructions for patching firmware 3.2.0 | DNSB | Kobo Developer's Corner | 66 | 12-05-2014 08:28 AM |