Beginning and ending swashes

LauraWorthington's picture

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

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.

eliason's picture

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.

Syndicate content Syndicate content