Beginning and ending swashes

Primary tabs

3 posts / 0 new
Last post
Laura Worthington's picture
Joined: 3 Jan 2010 - 2:33pm
Beginning and ending swashes

Hello! I need help with programming in beginning and ending swashes into a new script font I'm working on. I want to set this up in such a way that I can use both a beginning and an ending in the same word. I found an older thread on this, and followed it, but it wasn't working. I tried it with just one letter that has three variations, but it isn't working for me. This is what I have:

feature calt {

lookup caltstart {
ignore sub @letter_start @start';
sub @start' by @start_swash;
} caltstart;

lookup caltend {
ignore sub @end' @letter_end;
sub @end' by @end_swash;
} caltend;

} calt;

- - - - - - - - - - - - - - - - - - - -

@letter_start: t t.start
@start: t
@start_swash: t.start
@letter_end: t t.end
@end: t
@end_swash: t.end

Thanks! :)

~ Laura

Arno Enslin's picture
Joined: 30 Jun 2009 - 3:48am

What’s with your classes, Laura?

@class_name = [character character]; is the syntax. Please don't get angry, but in case of this question I must say it: Have a look into the fu***** manual.

Craig Eliason's picture
Joined: 19 Mar 2004 - 1:44pm

If these are classes set up using the classes panel in fontlab, the problem could be that you don't need the at-signs there.