View Single Post
Old 09-26-2022, 06:25 PM   #17
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.

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