![]() |
#1 |
Member
![]() Posts: 18
Karma: 10
Join Date: May 2022
Device: Kindle Paper White ( 7th Generation)
|
Need help to increase line space.
I need to increase line space (more than 200%) of some of my epub files in KOreader for my PW7.But I have found that line space limit is set only between 50%-200%.Is there anyway to set line space more than 200% in KOreader.Please help.
|
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,156
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
The upper limit is hardcoded in the line 390 of the file
koreader/frontend/ui/data/creoptions.lua |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
You may also want to disable or override the book's line-height styling, in case it's acting counter-productively to your needs on that front (IIRC, there's a builtin style tweak for that).
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 18
Karma: 10
Join Date: May 2022
Device: Kindle Paper White ( 7th Generation)
|
Thanks for reply.I edited 390 line of koreader/frontend/ui/data/creoptions.lua & set maximum line limit 500.Now it is showing 50-500 limit.But when I apply over 200 it is taking it but there is no change in line space & a popup message at upper portion of screen showing that line space is set to 200(actually I set over 200). Can you help plz?
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 18
Karma: 10
Join Date: May 2022
Device: Kindle Paper White ( 7th Generation)
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,156
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
So, go to line 264 of the file
koreader/frontend/apps/reader/modules/readerfont.lua |
![]() |
![]() |
![]() |
#7 |
Brash Fumbler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,202
Karma: 9224939
Join Date: May 2013
Device: NST, Kobo Mini
|
If I understand correctly, when a book’s cascading style sheet (CSS) contains any line-height commands, the Kobo software will not adjust line spacing. If the CSS is edited to delete the line-height commands, then the line spacing function in the font dropdown will work again.
I don’t know what effect this would have on KoReader. |
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 18
Karma: 10
Join Date: May 2022
Device: Kindle Paper White ( 7th Generation)
|
Thanks a lot. Atlast I have found the solution & I am very happy that I am now enjoying my reading with my favorite font.Thanks once again.Great help.
Last edited by mazed_04eee; 06-01-2023 at 06:33 AM. |
![]() |
![]() |
![]() |
Tags |
koreader, line spacing |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is it possible to increase the space between the books? | DenS | KOReader | 0 | 05-13-2022 09:41 AM |
How to Increase Line Space in Calibre 4.2 Viewer | brown.ml | Calibre | 2 | 10-19-2019 11:07 AM |
Df returns 0kb free space on partition/system, how to increase it? | amin021023 | Android Developer's Corner | 2 | 09-24-2019 09:32 AM |
italic at end of line causes next line to start with a space | ebookreadr | Sigil | 29 | 03-20-2017 11:25 AM |
How to increase the line space in CSS | Sylver | Calibre | 3 | 08-08-2010 01:02 AM |