Hey, everybody!
I've been working on rather an ambitious project over these last months, having wanted to do up as an ebook a 16th century "magical" text, while at the same time creating a brand-new font (based on that original source document) to go along with it.
Being an old-style font like that (blackletter) -- not to mention an old-style book, too -- it's full of the long "s" character throughout, and the font needed a whole bunch of extra ligatures to go along with that. I've got all the usual "regular" ligatures (liga), plus an additional bunch of "discretionary" ligs.
The weird thing is that when I test the font (that I've made myself) in my font program, all the ligature lookups come out just fine, and work just like they're supposed to -- but then, when I embed the font into my ebook and view it, only the "liga" ones render and display automatically, none of the "dlig" ones are showing up.
I have no idea why! I've edited fonts in the past, and created new discretionary ligs myself, and got them to work just fine in my ebooks -- it's beyond me why they're not working now (especially since they all work fine when I test those ligature lookups out in my font program).
Any ideas? Here's the code I'm using in my CSS -- which I learned how to do in these forums, and which seem to have worked just fine no problem. Is there perhaps an issue I'm not aware of in there?...
Code:
@font-face {
font-family: "Caps";
font-style: normal;
src: url("../Fonts/Wickednesse.ttf") format("truetype");
-webkit-hyphens:none;
-epub-hyphens:none;
-moz-hyphens:none;
hyphens:none;
-moz-font-feature-settings: "hist=1, liga=1, dlig=1";
-ms-font-feature-settings: "hist", "liga", "dlig";
-webkit-font-feature-settings: "hist", "liga", "dlig";
-o-font-feature-settings: "hist", "liga", "dlig";
font-feature-settings: "hist", "liga", "dlig";
}
One thing I did already try what changing the "format" in the above code from "truetype" to "opentype," since my font is a TT font that includes OT features. That seemed to make no difference -- either way, my "regular" ligs (liga) show up no prob, while the "discretionary" ones (dlig) don't.
Any help is much appreciated!