View Single Post
Old 06-23-2017, 06:03 AM   #6
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by Rellwood View Post
I don't know how many times I open a book after conversion and find that the author has indicated the line height to be 150%, 1.5, or more. I already autoconvert all books to remove extra lines between paragraphs, but what is the "transform styles" that could be applied for line height, considering each book has different ways of indicating line-height.
Incoming=
line-height: 150%
line-height: 150%;
line-height: 1.5;
line-height: 200%;

transform style= line-height: 1.2;
Hi, I do a similar thing, although I remove the line-heights rather than change them.

Attached is an image which shows you what settings you need to do to convert most line heights above a certain amount to line-height: 1.2em (change to suit).

Note the use of unitless 1.2 in the "greater than" field. This will automatically do a conversion for you, and is (roughly) equivalent to 120% or 1.2em.

Hope this helps!
Attached Thumbnails
Click image for larger version

Name:	TransformStyles-LineHeight.png
Views:	215
Size:	5.4 KB
ID:	157476  
sherman is offline   Reply With Quote