View Single Post
Old 08-15-2017, 03:38 PM   #51
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 JSWolf View Post
How would you regex ligatures other than to maybe surround one letter with a <span> so if cannot happen?

OH! Ohohohohoh! I see. No wonder we're not communicating. ("Who's on first...") I'm talking about regexing ligatures OUT, from content we receive to convert; you're talking about putting in prophylactic code/regex, to prevent ligatures from being created.

The Ligature Condom, in other words. Or the Ligature Morning-After Pill. We're at opposite ends of the spectrum, Jon, in what we're each talking about.

NOT a CLUE. I mean, you've suggested the only thing I can think of--put a span around all the 'fs" or "ts" or (insert one letter of a letter pair here), to prevent it. And honestly, man...that's a dog to do, and it would probably blow up MOBI format, even though this is the ePUB forum. (Mobi has a not-publicly-defined-but-real span limit.)

No idea at all. I think that sans the spans, you're stuck with it. (n.b.: you don't have to be. At the moment, thus far, I have only seen them show up when Georgia font is selected. Presumably, Garamond and Baskerville shan't be far behind, but for now, you can switch to a different font and you won't see the ligs.)

Hitch
Hitch is offline   Reply With Quote