View Single Post
Old 01-20-2019, 06:45 AM   #35
kso
Enthusiast
kso began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jun 2018
Location: UK
Device: Android, iPad, iPod, kindle {keyboard,fire7,hdx8.9} kobo, Sony PRS 600
Quote:
Originally Posted by Psymon View Post
I did earlier come up with this potential "noligs" class before, which I thought might work -- and which you'd think should work -- but it doesn't seem to, my ligs still show up anyway (and oh, I see I did use that optimizeSpeed thing in there... to no avail)...

Code:
.noligs {
	-moz-font-feature-settings: "hist=0, liga=0, dlig=0";
	-ms-font-feature-settings: "hist" 0, "liga" 0, "dlig" 0;
	-webkit-font-feature-settings: "hist" 0, "liga" 0, "dlig" 0;
 	-o-font-feature-settings: "hist" 0, "liga" 0, "dlig" 0;
	font-feature-settings: "hist" 0, "liga" 0, "dlig" 0;
	font-feature-settings: "kern" 1, "liga" 0;
	font-kerning: normal;
	text-rendering: optimizeSpeed;
}
From memory the following seems to work on some readers; haven't tested this everywhere:

Code:
.noligs {
	font-feature-settings: "liga" 0, "dlig" 0, "rlig" 0, "hlig" 0, "calt" 0;
}
klaus
kso is offline   Reply With Quote