Quote:
Originally Posted by stumped
if the edits are for books you intend to sell or distribute, please don't specify line heights
That stops the on-device sliders working on kobo readers, and stops some apps from applying defined themes e.g. mantano/Bookari
|
I think that is overstating the situation. I would encourage publishers to use line-height in those situations where it improves the book, as long as it doesn't prevent the reader from adjusting line spacing for the main text of the book.
line-height can be used in a way that doesn't interfere with the device's ability to adjust the line spacing. For example you can use a specific line spacing on the title page and that won't intefere with the rest of the book. Or you can set the line-height at the span level without interering with the device's ability to adjust the line spacing of the paragraph, such as for raise-caps:
Code:
<p style="text-indent:0;padding-top:1em;">
<span style="line-height:0;font-size:2em;">T</span>his use of line-height
avoids the extra space between the first and second lines of this pararaph,
caused by the 2em raise-cap (on devices which honour the style), but doesn't
prevent the device from adjusting the line spacing of the paragraph.</p>