View Single Post
Old 09-26-2022, 08:08 PM   #18
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by Doitsu View Post
According to the Adobe Canto website:
  • Not all Canto font variations support swashes.
  • Most Adobe fonts support font feature settings.
  • Swashes are deactivated by default and need to be activated with the following class definition:

Code:
.class {
  -moz-font-feature-settings: "swsh";
  -webkit-font-feature-settings: "swsh";
  font-feature-settings: "swsh";
}
I played with OpenType features some time ago, when someone wanted to display special Bulgarian glyphs and created a proof-of-concept epub.

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.
Well, we can make it work in an iPad and Azardi, but it's as dead as a doornail in Kindle, from start-2-finish. Doesn't work (so far) in ADE.

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
Hitch is offline   Reply With Quote