Quote:
Originally Posted by Zetetic
I believe that 1.2em (-ish) is certainly the default for many desktop renderers.
|
Yes, I've heard 1.25em or 125%. Still, I checked computed values for Firefox and Chrome via developer tools. All values are for font-size:normal.
Code:
Firefox line-height:
normal: 20px
1em: 16px
1.2em: 19.2px
1.25em: 20px
100%: 16px
120%: 19.2px
125%: 20px
Chrome line-height:
normal: 20px
1em: 16px
1.2em: 19.1875px
1.25em: 20px
100%: 16px
120%: 19px
125%: 20px
ADE line-height (measured with screen ruler, 10 lines/10):
normal: 19px
1em: 16px
1.2em: 19.1px
1.25em: 20px
100%: 15.9px
120%: 19.2px
125%: 20px
Curiously, ADE has a slightly smaller normal value (118.75%). The next time I upload a batch of books to my prs-650 I'll measure the test-epub with a ruler, I believe it is similar. I find the normal line-height with the default font to be very pleasant on my device. Like the majority of those who have spoken up about it, 1em seems too small for me.
Edit: The font rendered was the default fonts, this could explain the different values in ADE. Firefox and Chrome both used Times New Roman. If I can find the time tomorrow I'll update my test epub to reflect this and see if the value changes. I could also embed a few different fonts for comparison of "normal" line height rendering, suggestions are welcome.