Quote:
Originally Posted by lumpynose
What about this CSS:
Code:
body {
font-kerning: normal;
font-variant: common-ligatures oldstyle-nums proportional-nums;
font-feature-settings: "kern", "liga", "clig", "onum", "pnum";
}
h1, h2, h3 {
font-variant: common-ligatures lining-nums proportional-nums;
font-feature-settings: "kern", "liga", "clig", "lnum", "pnum";
}
This comes from (scroll down to Improve legibility):
https://friendsofepub.github.io/eBookTricks/
|
Why not try it and report back
I seem to remember, from 2-3 years ago when I was originally messing with this, that
Code:
-webkit-font-feature-settings: "liga"
did give standard ligatures in kepubs, but that "dlig" didn't work. I didn't try "kern" or any of the others in your example.
My final conclusion was that text-rendering: optimizeLegibility; was convenient for both ligatures and kerning and I've used it ever since.
Always willing to reconsider, though, if you discover a few golden nuggets.