Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-30-2023, 07:01 AM   #1
mazed_04eee
Member
mazed_04eee began at the beginning.
 
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.
mazed_04eee is offline   Reply With Quote
Old 05-30-2023, 07:44 AM   #2
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
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
hius07 is offline   Reply With Quote
Advert
Old 05-30-2023, 01:35 PM   #3
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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).
NiLuJe is offline   Reply With Quote
Old 05-31-2023, 12:57 PM   #4
mazed_04eee
Member
mazed_04eee began at the beginning.
 
Posts: 18
Karma: 10
Join Date: May 2022
Device: Kindle Paper White ( 7th Generation)
Quote:
Originally Posted by mazed_04eee View Post
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.
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?
mazed_04eee is offline   Reply With Quote
Old 05-31-2023, 12:59 PM   #5
mazed_04eee
Member
mazed_04eee began at the beginning.
 
Posts: 18
Karma: 10
Join Date: May 2022
Device: Kindle Paper White ( 7th Generation)
Quote:
Originally Posted by NiLuJe View Post
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).
Can you explain it more if possible.I am not understanding it.Thanks
mazed_04eee is offline   Reply With Quote
Advert
Old 05-31-2023, 02:58 PM   #6
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
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
hius07 is offline   Reply With Quote
Old 05-31-2023, 03:23 PM   #7
Calenorn
Brash Fumbler
Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.
 
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.
Calenorn is offline   Reply With Quote
Old 06-01-2023, 05:56 AM   #8
mazed_04eee
Member
mazed_04eee began at the beginning.
 
Posts: 18
Karma: 10
Join Date: May 2022
Device: Kindle Paper White ( 7th Generation)
Quote:
Originally Posted by hius07 View Post
So, go to line 264 of the file
koreader/frontend/apps/reader/modules/readerfont.lua
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.
mazed_04eee is offline   Reply With Quote
Reply

Tags
koreader, line spacing


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 07:49 PM.


MobileRead.com is a privately owned, operated and funded community.