View Single Post
Old 07-23-2015, 01:26 AM   #25
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by leftright View Post
yes, but, how many ebook users know which books line height is unadjustable ?, how many users delve into sigil to fix the problem ?.
many many books have fixed line heights, so much so that I run all new books through sigil and remove all instances with a single regex, before even putting book on device.

line-height: 1.2;
line-height: 1.2em;

are particularly common, and are often scattered throughout the CSS

i was given this regex in another thread, way back. be sure not to have minimal mode ticked & it will find all entries
line-height: [^;}\r\n]*;?

i take out font family definitions at that stage also.
even an innocuous
font-family:serif;
is enough to prevent on-device font selection
cybmole is offline   Reply With Quote