View Single Post
Old 01-21-2022, 05:17 AM   #10
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,796
Karma: 146391129
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 BKh View Post
Just to clarify, as there seems to be some misunderstanding, I'm talking about when designing a book from scratch. And specifically the paragraph font. The only reason I mentioned Calibre is because it is the viewer that the person making the ebook tested on.

Also, while I welcome opinions, if anyone can give me a solid reason why it's bad to set it, that would be great. Intuitively it makes sense not to touch it and just let the device handle it.

I have found this "starter kit" https://github.com/mattharrison/epub-css-starter-kit That uses 1.5em for line height.

Also on MobileRead's wiki here https://wiki.mobileread.com/wiki/CSS_template
it has 1.5em

As well, remember I'm asking about line height for basic paragraph text, not other fancy things. Perhaps new threads could be started if people have othe questions about line height.

Thanks!
Ignore the line height of 1.5em. That's way too large. And many people will hate you for it. You need to just forget line height exists in CSS. Don't use it. Let the user change the line height by changing the font or changing the line height (in devices/programs that allow this).
JSWolf is offline   Reply With Quote