View Single Post
Old 07-24-2026, 01:49 PM   #4
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 15,488
Karma: 248046301
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Siavahda View Post
Sounds like it's probably the same amount of effort either way - either go in and set all the p classes to 1, or go in and remove any line-height settings. Sigh.

What would go in the config file, if I wanted to set a default line-height?
Nothing. If there's no line-height in the css, Kobo will default to whatever you've set it in the device settings. If there is a line-height value in the css, Kobo will respect that.

I remove line-height values from the css and my Kobos always stick to the value I've set in the settings.

Of course fonts have their own line heights, so if you change the font, line-height will change as well.

Last edited by Sirtel; 07-24-2026 at 01:52 PM.
Sirtel is online now   Reply With Quote