View Single Post
Old 08-03-2023, 03:54 PM   #11
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,318
Karma: 105899727
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by nabsltd View Post
Sounds very familiar, although I have found that I need to actually look at the line-height values to see if I should keep them. An example is that in most readers, a larger-font for the first letter in a paragraph (initial cap) will cause the line height to expand and leave a lower margin that is too large. This can be fixed by applying line-height: 1; to the span.

But, since any value less than the actual computed line height will end up with the correct display, I have seen all values from zero to one, using both bare numbers and percentages. I couldn't come up with a regex that kept those while destroying things like line-height: 1.5;, so I fix them manually.
Special initial caps reduce readability. They are format egotism for last 200+ years on paper. Deleting the span in one go with Edit Spans & Divs solves that.
Quoth is offline   Reply With Quote