Quote:
Originally Posted by leftright
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