08-08-2016, 08:37 AM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Aug 2016
Location: Burgos, Spain
Device: Kobo Aura H2O
|
Line height setting is ignored
I mostly use my H2O reader to read regular epub files I purchase in non-Kobo shops. Line height is too large for my liking: it appears to be around 1.3 or 1.4 but I'd prefer something close to 1 as in most paperback books. For whatever the reason, I can change all font settings except line height. No matter what value I set, all my books will look the same.
There're endless Google results that suggest you need to edit every book you buy with Calibre. I've just learnt here that there're unofficial firmwares and alternative reading software. What'd be your recommendation to just fix the line-height issue? |
08-08-2016, 09:19 AM | #2 |
Grand Sorcerer
Posts: 6,216
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
The Kobo Patcher has many patches you can apply. Better selection of line-heights is just one of them. Each patch can be switched on/off.
|
Advert | |
|
08-08-2016, 09:30 AM | #3 |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
What does the CSS of the book look like?
Unfortunately that gets in the way a lot. I wish the reader was king and your settings would prevail but most of the time it's the books CSS that wins in the end. HTML/CSS is really not the best choice for ebooks. |
08-08-2016, 10:29 PM | #4 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
It would be best if you could try a book where the line spacing is adjustable to see if the minimum slider setting is small enough for you when used with your preferred fonts. If the minimum settting is still too large, then your only option to make it smaller and retain the adjustability using the Kobo ePub or KePub readers would be to patch the firmware, and that might simplify your decisions later. On the other hand, if the smallest line spacing setting in the stock firmware is acceptable, then you have the option of fixing the non-adjustablility problem just by editing the book's stylesheet (either manually or automatically during conversion by tweaking the settings in Calibre) without the need to patch. There is a new feature in recent Calibre versions that looks like it could allow a way of making the stylesheet changes needed to fix this problem automatically without many of the bad side-effects that result from simply stripping all line-height styles in the book. If you haven't yet come across a book where the line spacing is adjustable, this one from the Baen free lbrary should work as an example. Also this post will give you an idea of what can be done to customise the range of line spacing settings by patching. [Edit: What I use personally is a combination: patch to allow narrower line spacing; and editing the book's stylesheet to allow the main body text to be adjustable, while retaining a fixed line-height for special cases (such as line-height:0 for raise-caps, subscripts, etc.) I find that there are usually many things that need fixing in a book, from OCR errors to poor-quality images to formatting, the line-height issue is just one of many.] Last edited by GeoffR; 08-08-2016 at 11:05 PM. Reason: What I use personally ... |
|
08-09-2016, 07:24 AM | #5 |
Junior Member
Posts: 8
Karma: 10
Join Date: Aug 2016
Location: Burgos, Spain
Device: Kobo Aura H2O
|
It isn't a specific book, it's my entire collection—which is not large so far but includes titles from some well-known Spanish publishers like B de Books, Roca or Sportula.
I happen to be a web developer and I admit that CSS typographic controls are not as fine-grained as those you find in desktop publishing software but line-heigh has existed for several years and works fine in web pages. I wouldn't be surprised if Kobo devs were just using it wrong. What's really good in CSS is the letter C, which stands for "cascading" and means you can easily override styles. |
Advert | |
|
08-09-2016, 07:26 AM | #6 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Aug 2016
Location: Burgos, Spain
Device: Kobo Aura H2O
|
Quote:
|
|
08-09-2016, 07:59 AM | #7 | |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Quote:
With Ebooks you have a conflict of interest: There is the CSS that says the book should look so-and-so; but whoever reads the ebook has its own personal preferences so the reader offers some settings to make it look so-and-so. Which setting prevails? Unfortunately most of the time it's the CSS and the readers preference is ignored. You almost don't have this problem with webpages, people just accept a webpage the way it was intended to be by the web designer, although browsers do have an option to mix custom CSS in (or there are even addons for monkeypatching), most people don't use this [and if they do it breaks a lot of sites, even setting a minimum font size in firefox can ruin the design of some pages]. With ebooks you get crazy font sizes, custom paragraph indentation line spacing etc. etc. etc. and that's fine, readers should be allowed to do all of this stuff - but the reality is, ebooks come with a ton of unnecessary embedded CSS bloat rendering most of those settings ineffective. An ebook is not a webpage. Webpages need lots and lots of CSS to make them look good. Ebooks look better [and give readers more freedom] the less CSS they have. |
|
Tags |
line height |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
optimal line height ? | cybmole | Sigil | 6 | 09-05-2013 09:30 AM |
Line-height in Kindle books | RbnJrg | Kindle Formats | 8 | 07-26-2013 03:56 PM |
setting line-height between paragraphs of poetry in epubs | Derek R | ePub | 12 | 03-14-2013 04:38 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 |