Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 07-25-2026, 07:53 AM   #16
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 8,273
Karma: 72602129
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by Quoth View Post
I do convert all imports (even epub to epub) and use Calibre to automatically remove line-height and white-space. They and some other CSS are only for web sites.
I thought I was removing line height (and margins) when I do a conversion (from epub to epub), but looking at my my calibre settings, I'm not.

I don't seem to have any problems with line height (or margins).

I am using kepub (conversion on the fly when sending the ebook).
John F is offline   Reply With Quote
Old 07-25-2026, 08:20 AM   #17
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,490
Karma: 248046301
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by John F View Post
I thought I was removing line height (and margins) when I do a conversion (from epub to epub), but looking at my my calibre settings, I'm not.

I don't seem to have any problems with line height (or margins).

I am using kepub (conversion on the fly when sending the ebook).
Yes, kepub overrides some css values, including line-height and margins. Epub does not.
Sirtel is offline   Reply With Quote
Old 07-25-2026, 10:51 AM   #18
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,305
Karma: 153715495
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
This is why it's a very good idea to learn HTML/CSS.
JSWolf is offline   Reply With Quote
Old 07-25-2026, 10:58 AM   #19
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 218
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by Quoth View Post
I do convert all imports (even epub to epub) and use Calibre to automatically remove line-height and white-space. They and some other CSS are only for web sites.
How does this work? Currently in the 'look and feel' part of the conversion window, in the layouts tab I have line size set to 1em. That doesn't seem to do much though, so I think you must be talking about something else?
Siavahda is offline   Reply With Quote
Old 07-25-2026, 11:38 AM   #20
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,490
Karma: 248046301
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Siavahda View Post
How does this work? Currently in the 'look and feel' part of the conversion window, in the layouts tab I have line size set to 1em. That doesn't seem to do much though, so I think you must be talking about something else?
The styling tab, Other CSS Properties -> line-height
Sirtel is offline   Reply With Quote
Old 07-25-2026, 11:44 AM   #21
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 218
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by Sirtel View Post
The styling tab, Other CSS Properties -> line-height
Oh I see! Thank you so much!
Siavahda is offline   Reply With Quote
Old 07-25-2026, 11:44 AM   #22
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,305
Karma: 153715495
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
This conversion won't help you learn HTML/CSS.
JSWolf is offline   Reply With Quote
Old 07-25-2026, 11:46 AM   #23
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 8,273
Karma: 72602129
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by JSWolf View Post
This is why it's a very good idea to learn HTML/CSS.
Or to use kepub instead of epub. Depending on one's priorities.
John F is offline   Reply With Quote
Old 07-25-2026, 11:47 AM   #24
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 218
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by JSWolf View Post
This conversion won't help you learn HTML/CSS.
I mean, I think I'm reasonably competent at CSS. My problem is I'm entirely self-taught and don't know what anything's CALLED, so asking for help/explaining what I've done is difficult.

I can change line-heights myself no problem. But if doing this will remove them all for me, why wouldn't I do this? It saves my hands.
Siavahda is offline   Reply With Quote
Old 07-25-2026, 12:00 PM   #25
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 218
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by JSWolf View Post
@Siavahda what you need to do it remove any line-height from the CSS. Then you need to adust the line height slider to what you want. It's that simple.
So, this didn't work. The line-height is completely out of the CSS, my slider is set as far left as it'll go, and the line-height looks like it's around 1.3.

This keeps happening, and it's driving me bonkers. 's why I was asking do Kobos have a default line-height, because it really seems like it does, and that default is not 1.

Edited to add: I tried with a bunch of different fonts too. That does not seem to be the issue.

Last edited by Siavahda; 07-25-2026 at 12:03 PM. Reason: fonts
Siavahda is offline   Reply With Quote
Old 07-25-2026, 12:22 PM   #26
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,490
Karma: 248046301
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Siavahda View Post
So, this didn't work. The line-height is completely out of the CSS, my slider is set as far left as it'll go, and the line-height looks like it's around 1.3.

This keeps happening, and it's driving me bonkers. 's why I was asking do Kobos have a default line-height, because it really seems like it does, and that default is not 1.

Edited to add: I tried with a bunch of different fonts too. That does not seem to be the issue.
If you want your line-height to be smaller than the smallest default, use the patch.
Sirtel is offline   Reply With Quote
Old 07-25-2026, 12:38 PM   #27
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,305
Karma: 153715495
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Siavahda View Post
So, this didn't work. The line-height is completely out of the CSS, my slider is set as far left as it'll go, and the line-height looks like it's around 1.3.

This keeps happening, and it's driving me bonkers. 's why I was asking do Kobos have a default line-height, because it really seems like it does, and that default is not 1.

Edited to add: I tried with a bunch of different fonts too. That does not seem to be the issue.
Yes, the default is 1.3 with no patches. However, I have a solution for you that should work very easily.
  • Plug the Kobo into the USB port
  • using a file manager (file explorer on Windows) and go to the Kobo drive and then .kobo and then kobo
  • edit the file Kobo eReader.conf (on Windows use Notepad++)
  • Under [Reading] put readingLineHeight=0.76. Change the value to what you want.
  • Reboot your Kobo
  • That should do it without the need to patch.

Last edited by JSWolf; 07-25-2026 at 12:40 PM.
JSWolf is offline   Reply With Quote
Old 07-25-2026, 01:59 PM   #28
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,490
Karma: 248046301
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by JSWolf View Post
Yes, the default is 1.3 with no patches. However, I have a solution for you that should work very easily.
  • Plug the Kobo into the USB port
  • using a file manager (file explorer on Windows) and go to the Kobo drive and then .kobo and then kobo
  • edit the file Kobo eReader.conf (on Windows use Notepad++)
  • Under [Reading] put readingLineHeight=0.76. Change the value to what you want.
  • Reboot your Kobo
  • That should do it without the need to patch.
It'll get reset if you ever change the line-height on your Kobo. With the patch it's easy to set it again without needing to edit the conf file every time.
Sirtel is offline   Reply With Quote
Old 07-25-2026, 02:18 PM   #29
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,305
Karma: 153715495
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Sirtel View Post
It'll get reset if you ever change the line-height on your Kobo. With the patch it's easy to set it again without needing to edit the conf file every time.
I know this. But I set the screen refresh this way and it's never been reset. Once the line height is set, just don't touch the slider. if the slider is ever moved, the line height can be put back.

The non-patched lowest line height of 1.3 is 100% stupid.
JSWolf is offline   Reply With Quote
Reply

Tags
config, kobo, line-height

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KFX: reduce default body line height on Kindle Zillion_ Conversion 3 08-19-2023 04:57 AM
How to set line height for book content? mzso Conversion 31 02-15-2018 01:35 PM
Fontconfig error: Cannot load default config file krischik Calibre 4 02-17-2012 09:48 AM
Default line-height in epubs Derek R ePub 2 02-13-2012 11:23 AM
Fontconfig error: Cannot load default config file kdbdallas Calibre 11 09-06-2010 05:32 PM


All times are GMT -4. The time now is 01:36 PM.


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