View Single Post
Old 07-18-2013, 08:56 AM   #14
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by tshering View Post
What I meant to say is that "readingLineHeight=1.3" is maybe translated by the software to "body { line-height: 1.3em; }", and that this results in different absolute values in elements that inherit it, if one compares it with "body { line-height: 1.3; }". Whether readingLineHeight is handlet in this way, I don't know. Therefore it is a speculation.
Trouble is, those two CSS statements are equivalent. They both mean, in English, "the total height of a line should be 130% of the font size used on that line." If the font size in a given paragraph is 10 points, that means a line height of 13 points. If there's a 20-point header, its height will be 26 points. That's because an "em" isn't a static value; it always reflects the current font size.

I think what you mean to say is that your theory is that the software calculates the baseline font size in terms of rendered pixels or some other absolute final value, and then mistakenly multiplies that by the line-height - such that line-height gets converted to an absolute unit instead of the relative value it ought to carry. At least, that would explain the results you report.
Rev. Bob is offline   Reply With Quote