![]() |
#16 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,734
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
According to the Adobe Canto website:
Code:
.class { -moz-font-feature-settings: "swsh"; -webkit-font-feature-settings: "swsh"; font-feature-settings: "swsh"; } If font-feature-settings: "swsh" doesn't work, you might have to select a particular stylistic set using ssXX or salt. You might find the OpenType Tester website useful for experimenting with OpenType features. As you've probably already guessed, not all apps and readers support rendering swashes and/or selecting stylistic sets. ![]() Last edited by Doitsu; 09-26-2022 at 04:46 PM. |
![]() |
![]() |
![]() |
#17 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
MWAHAHAHA.. the "as you've probably already guessed" comment left me in giggles. YUP, I'm pretty sure 'bout that. But if I can make this sucker fallback nicely, huzzah. Thanks Doits. You're the best. I shall revert, when I knoweth more. Hitch |
|
![]() |
![]() |
![]() |
#18 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Could be that I'm just a lazy you-know-what, not wanting to sit here and replace 01, 02, etc. 20x, trying to find the "set" (the undocumented set, mind you) that might work. We'll keep hammering at it, thanks, Doits. (I can make the Swashes display, on the OTT site, but...that's about it. So far, swsh works for ipad/iBooks and Azardi. Other than that, not much luv. (From the devices to me, I mean.) Hitch |
|
![]() |
![]() |
![]() |
#19 | ||
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Take a font like Unifraktur Maguntia (which is full of alternate glyphs) as an example. Open it in FontForge, and go to Window > New Metrics Window. Type the letters you want to find swashes for (e.g. "AGKNSY"), and then you toggle the different sets in the left column (Ctrl+click to keep the previous selection as you activate a new one). You'll find that "aalt" activates the alternate forms for all these letters, "cv04" activates the modern "A", "cv05" and "cv06" for "G" and "K", etc. There's probably something similar (but maybe less exhaustive and well documented) for your font. I guess you can't share it? You can examine the substitution tables in Element > Font Info > Lookups, but you probably won't want to do that. There must be some tool that gives you a dump of the tables in text format for easier examination (a custom-made python script at least). Still, it won't work in devices/format that don't support/ignore OpenType features, but it should degrade nicely (i.e. simply show swash-less variants). Quote:
Code:
<h1>This Is A Title</h1> |
||
![]() |
![]() |
![]() |
#20 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I'm going to reach out to you,privately, and show you the font. It's a bloody nightmare and here's a weird one--I've made it work, in Azardi. But ixnay (not) in KP3, despite the fact that Doits' Bulgarian special use fonts worked in KP3. That gets right up my nose! P.S, and here's a poser--I cannot FIND the particular swash that the customer demanded, for an upper-cae E, in the New Metrics Window--as if it doesn't exist. If I use the Swsh category, in the CSS, the file works in Azardi. But wait, there's more--it works even though the font was subset. Now, explain THAT one to me! So, yes: a glyph I cannot find, at all, in FontForge, works in an ePUB, even though some other glyph, that is not the glyph I seek, was called and it/they work---even though the font was subset, which means that the glyphs oughtn't be there at all. Nor can I see or find any aalt (per Doits' comments) to show me "all" the alternatives. (I wonder if that's only alts with hex or code points?) Do I know how to have a good time, or what? GRRRRRRRRRRRRRRRRRRRRRR, I don't like it when files disobey. I really, really don't. |
|
![]() |
![]() |
![]() |
#21 | ||
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#22 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
@Doitsu: do you have/remember the name of/can point me to that Bulgarian font you used in that ePUB? Hitch |
|
![]() |
![]() |
![]() |
#23 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,589
Karma: 14328510
Join Date: Nov 2019
Device: none
|
You've probably heard that saying we have way out west, "You can tell who the pioneers are; they're the ones on the ground with arrows sticking out of their backs."
|
![]() |
![]() |
![]() |
#24 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I am officially ending this. Hitch |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Troubleshooting Embedding font breaks font-family? | Calan | Amazon Kindle | 1 | 06-13-2020 11:48 AM |
Embedding font in books that already have embedded font | Barty | Calibre | 2 | 10-16-2013 11:38 PM |
Font Embedding? | teh603 | Writer2ePub | 75 | 01-08-2013 07:57 PM |
Font embedding | sachin | Sigil | 3 | 03-21-2012 09:19 AM |
Do I need a font license if all I'm doing is referring to the font (not embedding)? | Stodder | Workshop | 21 | 04-21-2011 04:19 AM |