![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 17448
Join Date: Jun 2020
Device: Kobo Elipsa2E & Libra H20, Kindle PW3 & PW2
|
![]()
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: And lot's of others, where the wasted space is dis comfortable. 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. |
![]() |
![]() |
![]() |
#2 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 17448
Join Date: Jun 2020
Device: Kobo Elipsa2E & Libra H20, Kindle PW3 & PW2
|
![]()
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 ![]() Last edited by lordeagle; 03-30-2021 at 02:17 PM. |
![]() |
![]() |
![]() |
#5 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
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. |
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
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 |