View Single Post
Old 09-26-2022, 01:23 PM   #15
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 Jellby View Post
I presume the swash alternatives are specified in an OpenType feature. Can't you just enable the feature in CSS and have them displayed as intended (as long as the renderer supports OpenType features)? It may be possible to programmatically replace all the conventional letters with their swash alteratives, if that's what you want...
So, if I understand you, I'd have to do something like this:

Code:
font-variant-alternates: styleset(alt-a);
For each and every alternate letter, is that right?

And the fallback would simply be the non-alternative? Is that right?

I know this seems like I'm overthinking it, but I'm reasonably sure that I've never had to deal with swashes, etc. in the PUA that have no coding at all. Nuthin', nada--hell the OT stuff doesn't even show up in my font manager, which is not some el-cheapo freebie, either. In fact, to see these suckers, (outside of, say, INDD), I have to open them in a font editing/modification/creation program.

Okay, more digging on my part. There's gotta be a more-obvious answer that I'm simply overlooking.

Hitch
Hitch is offline   Reply With Quote