Ligature after a space

Primary tabs

6 posts / 0 new
Last post
Behnam's picture
Offline
Joined: 7 Feb 2005 - 5:37pm
Ligature after a space
0

Hi,
I want to create a ligature which only appears after a space (replacing the characters AND the space) so it's not contextual and easy to make.
But I also want it to appear at the beginning of the line or after a Tab (no space). How do I go about this?
Thanks

Ricardo Cordoba's picture
Offline
Joined: 6 Jun 2005 - 6:57pm
0

Uh... My brain hurts from just thinking about this...

Thomas Phinney's picture
Offline
Joined: 3 Sep 2002 - 11:00am
0

You could make it a contextual ligature. Have a class consisting of all the glyphs in the font, and have it appear when nothing in the class proceeds the two glyphs in question.

Note that this could then get triggered by anything else that breaks the context, such as a change of font. Even a change within the same family (bold or italic, for instance) would do it....

T

Max Rabkin's picture
Offline
Joined: 10 Jul 2007 - 8:33am
0

Sounds to me like what you want is not contextual at all, since the space is part of the ligature. Surely you just make a space_thing1_thing2 ligature?

Behnam's picture
Offline
Joined: 7 Feb 2005 - 5:37pm
0

Thanks. I'll try Thomas suggestion. It sounds like a lot of CPU activity just for a ligature though.
No it is contextual of some sort. This ligature is ment to replace a specific word not the same characters within another word. This word wouldn't be a word inside the text without a preceding space. But it still would be a word at the begining of the line.
b

Max Rabkin's picture
Offline
Joined: 10 Jul 2007 - 8:33am
0

Sorry. I didn't read the second half of your post properly.