Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-29-2021, 03:35 PM   #1
lordeagle
Enthusiast
lordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankind
 
Posts: 49
Karma: 17448
Join Date: Jun 2020
Device: Kobo Elipsa2E & Libra H20, Kindle PW3 & PW2
Post Kepub Line-Height

Hi

I just noticed that I totally dislike the line-height of the books I read on my Kobo (Libra H20). Most books seem to fill a complete blank line between each and every line ... and therefore waste a lot of space ... so I'm way too often forced to paginate.

I have one book where I like the line-height ... there is almost none:
Click image for larger version

Name:	screen_001_perfectLineHeight.png
Views:	197
Size:	276.1 KB
ID:	186210

And lot's of others, where the wasted space is dis comfortable.
Click image for larger version

Name:	screen_002.png
Views:	209
Size:	161.3 KB
ID:	186211
Click image for larger version

Name:	screen_003.png
Views:	174
Size:	166.8 KB
ID:	186212
Click image for larger version

Name:	screen_004.png
Views:	167
Size:	216.0 KB
ID:	186213

The way I load books: normally I use calibre and load books onto the reader with kobo utilities plugin, which does kepub.epub conversion. Just to be sure that this isn't the source of trouble I also tried some epubs converted 'kepubify' but with similar results.

What I don't understand in particual is, that the CSS style 'line-height' seems not to be interpreted. I can even set negative sizes (.e.g line-height: 0.5em; ) which will make the book unreadable on calibre viewer, due to overlapping lines. ....but the Kobo is totally resilient to these settings.

Is this a known issue? Anything special the kobo store books do that these converters are not aware of? I really see no obvious problem in the stylesheets, but maybe there is a trick?

The only thing I found that relaxes the situation a little is to set tiny font size (e.g. 0.8 em) to see more content on one page. But this can get really tedious to read

Last edited by lordeagle; 03-29-2021 at 03:37 PM.
lordeagle is offline   Reply With Quote
Old 03-29-2021, 04:08 PM   #2
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,992
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
There should be NO line-height figure / setting in the CSS. Then the default epub or kepub looks about right, AND the menu GUI to change the spacing will work.

Also you should be able to set the font on the page to any size comfortable.

Also some people only use epub on the Kobo. The kepub is more proprietary and though it has some nice features it renders less accurately.
Quoth is offline   Reply With Quote
Advert
Old 03-29-2021, 10:18 PM   #3
rashkae
Wizard
rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.
 
rashkae's Avatar
 
Posts: 1,274
Karma: 5935030
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
The Kobo forces a minimum line-height in the .body of the CSS. (I forget what exactly the number is, but it's somwhere around the 1.5 mark).. That's why trying to reduce line height is not helping you. The problem I think you are having with this particular book, however, is the font size is being reduced somewhere outside of the paragraph/div element,, (maybe in surrouding spans.).. the result of the shrunken font size, with the kobo minimum Line-height argument, is the really large spacing you see.

I would try to find and remove the font-size that is shrinking the text. (and then apply a font size to the body if needed to adjust the size of text, or re-run calibre epub to epub converstion without disabling font size recalling)

If you need assist, try using the epub scramble plugin to create a version of the book you can post here (or pm), and I'll fix it up, post the .css
rashkae is offline   Reply With Quote
Old 03-30-2021, 02:11 PM   #4
lordeagle
Enthusiast
lordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankind
 
Posts: 49
Karma: 17448
Join Date: Jun 2020
Device: Kobo Elipsa2E & Libra H20, Kindle PW3 & PW2
Lightbulb Thanks it was just the menu

Hey guys ... that must have been a typical nerd problem. I've inspected all the bits within the CSS of the kepub files. Compared them with others that I bought from the Kobo store. .... looked for failures in the translation plugins.

.... however, being relatively new to Kobo, I completely overlooked the normal 'font' menu on top of the Reader. I'm slightly embarrassed

But after all, you guys still kept the patience to help me
And I'll definitively stop hacking line-height and font-size attributes, know that I know that they have little effect onto the device.

Here are the improved results ... and a screenshot of the menu for other beginners like me
Click image for larger version

Name:	fontMenu.png
Views:	175
Size:	157.1 KB
ID:	186236Click image for larger version

Name:	minimizedLutherKing.png
Views:	161
Size:	202.4 KB
ID:	186237

Last edited by lordeagle; 03-30-2021 at 02:17 PM.
lordeagle is offline   Reply With Quote
Old 03-30-2021, 02:46 PM   #5
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: 79,711
Karma: 145864619
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 rashkae View Post
The Kobo forces a minimum line-height in the .body of the CSS. (I forget what exactly the number is, but it's somwhere around the 1.5 mark).. That's why trying to reduce line height is not helping you. The problem I think you are having with this particular book, however, is the font size is being reduced somewhere outside of the paragraph/div element,, (maybe in surrouding spans.).. the result of the shrunken font size, with the kobo minimum Line-height argument, is the really large spacing you see.

I would try to find and remove the font-size that is shrinking the text. (and then apply a font size to the body if needed to adjust the size of text, or re-run calibre epub to epub converstion without disabling font size recalling)

If you need assist, try using the epub scramble plugin to create a version of the book you can post here (or pm), and I'll fix it up, post the .css
Kobo does not force a line-height of 1.5. If it did, that would be a line-height larger then that of a Kindle with KFX eBook.

A lot of eBooks set a line-height. I remove them and then set my own line-height using the slider. So chances are these eBooks with a line-height of too large is setting a line-height in CSS. Use the Calibre editor to remove the line-height from CSS.
JSWolf is offline   Reply With Quote
Advert
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
line height Rellwood Conversion 3 04-07-2018 04:34 AM
optimal line height ? cybmole Sigil 6 09-05-2013 09:30 AM
Line height insanity! Kamikuza Conversion 6 10-24-2012 11:56 PM
Advice about line-height Julien Pham Sigil 2 12-22-2011 09:05 AM


All times are GMT -4. The time now is 12:03 PM.


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