View Single Post
Old 05-20-2013, 04:51 PM   #84
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,173
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by William Ockham View Post
JSWolf, what font metrics did change to achieve that effect? I will happily admit that I'm wrong if you can send me a font that behaves this way.
I changed Typo Line Gap and Line Gap. The original value was 0 for the first image and I changed it to 200 for the second image. These value work for ADE.

For KF8 I changed Typo Ascender/Typo Descender, Win Ascent/Win Descent, and Ascender/Descender.

All it takes is some experimenting to get the values you want so you don't have to use line height in CSS. It also makes KF8 usable as the line height displayed won't be too large.

Take a look at my modified Charis SIL versions. They have two different line heights when used on a Kindle with KF8.

https://www.mobileread.com/forums/sho...d.php?t=184056

Last edited by JSWolf; 07-18-2016 at 03:52 PM.
JSWolf is offline   Reply With Quote