02-07-2017, 10:30 AM | #1 |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Font Ligature Issues
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"; } Any help is much appreciated! |
02-08-2017, 03:20 PM | #2 |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
I guess nobody knows the answer to my question, but in my font I changed all my discretionary ligature lookups to standard lig lookups, and now everything works okay. That's rather weird, I could've sworn that other discretionary ligs that I'd created myself in other fonts did show up just fine -- but perhaps I'm mistaken about that.
In any case, is this others' experience, too -- that only standard ligs show up as they're supposed to in ebooks, but not discretionary ones? |
Advert | |
|
02-08-2017, 11:33 PM | #3 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Readers based on Adobe RMSDK, (at least up to RMSDK 10 / ADE 3) only use ligature substitutions from 'liga', and ignore 'dlig', 'hlig', etc.
Putting all ligatures in 'liga' as you have done is the only solution I think. |
02-09-2017, 12:04 AM | #4 |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Ah, okay -- great, thanks! It's nice to have confirmation that I'm not losing my marbles.
|
02-11-2017, 06:30 AM | #5 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
@Psymon: I found out by chance that the latest RMSDK 12.5.0 based ADE versions, e.g. ADE 4.5.4, support at least some OpenType features (I only tested, hlig, dlig, onum and smcp), in epub3 books. |
|
Advert | |
|
02-11-2017, 06:57 AM | #6 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Now if only we could get RMDSK 12.5.0 without the new DRM. Does any Reader use RMDSK 12.5.0?
|
02-11-2017, 01:16 PM | #7 | |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
In any case, changing all my lookups to standard ones instead of discretionary did the trick -- although I'm not really enough of an expert (by any means) with type design to know if there's any negative repercussions of doing so. |
|
02-11-2017, 01:22 PM | #8 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
02-11-2017, 01:30 PM | #9 | |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
|
|
02-11-2017, 01:34 PM | #10 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I did it to for you and me. I wanted to see what worked. I was hoping I would be able to use the small caps in Charis SIL (my version CareInk) so I could very easily go from fake small caps to real small caps with just a simple CSS change.
Last edited by JSWolf; 02-11-2017 at 01:41 PM. |
02-11-2017, 01:37 PM | #11 | ||
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
Please re-test my test file with ADE 4.5.4 for Windows/Android. |
||
02-11-2017, 01:44 PM | #12 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
02-11-2017, 02:01 PM | #13 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
02-11-2017, 02:05 PM | #14 |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Well, thank you once again for that effort!
Oh, that explains why my EPUB2 tests didn't work. Aha. |
02-11-2017, 02:07 PM | #15 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ligature display | roger64 | Sigil | 24 | 06-06-2013 06:04 AM |
Font issues with Calibre | ivanbayross | Calibre | 6 | 10-16-2012 08:19 AM |
De-Ligature-ification | brewt | ePub | 32 | 07-31-2011 04:45 AM |
Does NookColor have font-sizing issues? | L.J. Sellers | Nook Color & Nook Tablet | 12 | 06-02-2011 04:45 PM |
Font issues with new Kobo wifi . | PookaLady | Kobo Reader | 6 | 03-09-2011 09:59 AM |