View Single Post
Old 01-21-2022, 01:08 PM   #14
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: 14,347
Karma: 105899727
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by BKh View Post
Personally I agree with you. But what's the answer I give when I'm asked what about those devices that don't allow it?
If there is no line-height property there will be a default set by the rendering software based on the font metrics.
On most ereaders and ereader apps you can change the line-height if it's not set in CSS. If it is set, then usually the user can't change it and the results may be poor if the user changes the font on the ereader or size of font. So that's why there is no need to set line-height ANYWHERE in CSS, a most of all not in the body style. I've used about 7 makes of eink reader, tested programs and apps, have 3 models of Kindle (tested 3 other models) and have had 2 Sony models of different eras and have had 4 different Kobo (still have 3). What works best on everything is having no line-height, it's for web pages because it's not normally a user setting on a browser.

Not all CSS that actually works on ereaders makes sense. Some of it may only make sense in niche styles, not First or Default Paragraphs of body text.
Quoth is offline   Reply With Quote