Crossing the t's

Primary tabs

6 posts / 0 new
Last post
Frode Bo Helland's picture
Joined: 26 Feb 2007 - 1:03pm
Crossing the t's
0

I have an alternate "t" with a rather long raised crossbar and another one with no crossbar at all. Is there some smart way I can create an opentype feature that let's me substitute my regular t's with these two in a word like this: txxxxt (x = any given lowercase letter)

Nick Shinn's picture
Offline
Joined: 8 Jul 2003 - 11:00am
0

Would this work?

First create a class of lowercase glyphs, @x.

sub t @x @x @x @x t' by t.nobar ;

sub t' @x @x @x @x t.bar by t.highbar ;

André G. Isaak's picture
Offline
Joined: 31 May 2008 - 10:05am
0

Do you mean you want this to occur when exactly four lowercase characters occur between the t's, or do you intend this to work with an arbitrary number of characters separating the two t's?

André

Frode Bo Helland's picture
Joined: 26 Feb 2007 - 1:03pm
0

Thanks Nick. André: Arbitraty, but I’ll probably have to have a maximum number, and also something that would work for a word like “retrett”.

Ben Mitchell's picture
Offline
Joined: 12 Aug 2007 - 4:05pm
0

Sounds difficult, as the intervening letters could be quite different widths.

Nick, does your second line need to say t.nobar rather than t.bar?

Frode Bo Helland's picture
Joined: 26 Feb 2007 - 1:03pm
0

This is a handwritten script. The crossbars will be rather freeflowing, so I’m ok with different widths.