Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 11-02-2020, 05:54 PM   #1
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,661
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Line spacing options?

Will the viewer ever have/be able to have the option to change line spacing? I switched from flowed to paged to see if line spacing options appeared, but it did not. I would love to be able to read at about 1.15 - 1.25 line spacing, without having to edit each book. If this feature is on the roadmap at all, that would make my day
Uncle Robin is offline   Reply With Quote
Old 11-02-2020, 06:36 PM   #2
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,185
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by Uncle Robin View Post
Will the viewer ever have/be able to have the option to change line spacing? I switched from flowed to paged to see if line spacing options appeared, but it did not. I would love to be able to read at about 1.15 - 1.25 line spacing, without having to edit each book. If this feature is on the roadmap at all, that would make my day
See:
https://manual.calibre-ebook.com/vie...ing-experience

Quote:
More advanced customization can be achieved by the Styles settings. Here you can specify a background image to display under the text and also a stylesheet you can set that will be applied to every book. Using it you can do things like change paragraph styles, text justification, etc. For examples of custom stylesheets used by calibre’s users, see the forums.
bernie
gbm is offline   Reply With Quote
Advert
Old 11-02-2020, 06:39 PM   #3
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,661
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Quote:
Originally Posted by gbm View Post
Uncle Robin is offline   Reply With Quote
Old 11-02-2020, 06:46 PM   #4
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Uncle Robin View Post
Will the viewer ever have/be able to have the option to change line spacing? I switched from flowed to paged to see if line spacing options appeared, but it did not. I would love to be able to read at about 1.15 - 1.25 line spacing, without having to edit each book. If this feature is on the roadmap at all, that would make my day
There isn't a pair of Tool buttons, like font-size has, but if you go to
Viewer Preferences > Styles
you can add something like
body {line-height:1.15}
plus anything else you fancy, to the CSS stylesheet box.
jackie_w is offline   Reply With Quote
Old 11-02-2020, 06:54 PM   #5
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,661
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Quote:
Originally Posted by jackie_w View Post
There isn't a pair of Tool buttons, like font-size has, but if you go to
Viewer Preferences > Styles
you can add something like
body {line-height:1.15}
plus anything else you fancy, to the CSS stylesheet box.

Thanks jackie_w, I will try that. I've posted in the linked styles thread that pasting an entire CSS template from that thread and changing the line-spacing value did exactly nothing. Perhaps just adding a line-height value will do the trick.
Uncle Robin is offline   Reply With Quote
Advert
Old 11-02-2020, 07:35 PM   #6
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,185
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by Uncle Robin View Post
Thanks jackie_w, I will try that. I've posted in the linked styles thread that pasting an entire CSS template from that thread and changing the line-spacing value did exactly nothing. Perhaps just adding a line-height value will do the trick.
For line-height you will need to add !important to the style.
(This is because many css selectors in ebooks have their own line height.)

Code:
body {line-height:1.15 !important}
https://www.geeksforgeeks.org/how-to...ortant-in-css/

Quote:
The !important property in CSS is used to provide more weight (importance) than normal property. In CSS, the !important means that “this is important”, ignore all the subsequent rules, and apply !important rule and the !important keyword must be placed at the end of the line, immediately before the semicolon.

bernie

Last edited by gbm; 11-02-2020 at 07:37 PM.
gbm is offline   Reply With Quote
Old 11-02-2020, 09:00 PM   #7
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,661
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Quote:
Originally Posted by gbm View Post
For line-height you will need to add !important to the style.
(This is because many css selectors in ebooks have their own line height.)

Code:
body {line-height:1.15 !important}
https://www.geeksforgeeks.org/how-to...ortant-in-css/


bernie
At least for the book I'm currently reading, I did not need "!important", adding "line-height" worked just fine, unlike the "line-spacing" in the linked thread. But I might add it to override for next time and beyond, thanks
Uncle Robin is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS line height vs Kobo line spacing slider? bongoman Kobo Reader 2 07-12-2020 01:25 PM
Please help with line spacing henrypartridge Sigil 16 03-18-2016 11:33 AM
Line Spacing Nikita Jedi Conversion 11 07-07-2012 07:05 PM
Need help with line spacing ficbot Sigil 4 05-31-2011 01:52 PM
Line spacing Ivo Kobo Reader 3 06-30-2010 12:54 PM


All times are GMT -4. The time now is 02:48 PM.


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