Thread: Marvin 3.0
View Single Post
Old 06-25-2016, 07:47 AM   #216
democrite
Evangelist
democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.
 
Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
Yes, and I love it. The CSS I added:

Code:
body {
font-variant-numeric: oldstyle-nums; 
-moz-font-feature-settings:"liga=1, dlig=1"; 
-moz-font-feature-settings:"liga", "dlig"; /* EDIT: new syntax for FF 15+ */ 
-ms-font-feature-settings:"liga", "dlig"; 
-o-font-feature-settings:"liga", "dlig"; 
-webkit-font-feature-settings:"liga", "dlig"; 
font-feature-settings:"liga", "dlig";
}
I didn't yet remove the unneeded lines like for moz or see what was the minimum required. I'm not much of a programmer but had tried to make a basic ePub reader for OS X without getting very far. There's a Swift FolioReaderKit iOS reader on Github from which I did a similar CSS injection so seems possible, though for other style changes, you're probably already doing that.

Last edited by democrite; 06-25-2016 at 07:51 AM.
democrite is offline   Reply With Quote