Open amarakon opened 1 year ago
What was going on with Q in Junicode 1 wasn't nearly as clever as what you describe: the long-tail Q appeared only when u followed: I think it was a Qu ligature. For Junicode 2 I wanted something switchable, so users could have a choice between the short-tail and long-tail Q without having to disable a feature that was normally always on. So you select long-tail Q with cv33[3] and longer-tail Q with cv33[4].
But something like what you're describing is actually easy to do: once cv33[3] or cv33[4] is on, the default Q can be substituted when followed by a letter with a descender. I'll add a couple of contextual rules to do that.
Like this. With cv33[3] selected, you get:
With cv33[4], you get:
But without cv33, it's always just the default Q:
And italic:
Looks good!
In Junicode, the uppercase Q would go under a lowercase U but not a lowercase I. Therefore, collisions are avoided. In Junicode Two Beta, I can still get the swash Q via the
swsh
OpenType feature, but it will not be automatically disabled to avoid collisions. I am using LaTeX. Here is a minimum working example you can try out: