Problems in fontlab 4

character's picture

I am trying to create some alternate ampersand glyphs in fontlab but I can't figure out how to get them to actually work.
Also (and I am sure that it is an obvious question) I can't get the 'smart quotes' to work in the typeface either.
Nobody wants to see inch marks in place of proper quotes do they?

I would appreciate any help that anyone has.

Mark Simonson's picture

There was a discussion here a while back about the idea of using OpenType to do smart quotes. The consensus was that it would be a bad idea; that it should be left to the application to do. There was a good reason, but I can't quite remember what it was.

Doing alternate ampersands is easy. Create your normal ampersand in the normal ampersand slot. Then create your alternate ampersands, naming them ampersand.alt1, ampersand.alt2, etc. (The alternates do not need Unicode values assigned, but you may use PUA codes if you want programs like MS Word for Windows that don't yet support alternates to be able to access them.)

Create a "salt" feature defined thusly:

feature salt {
sub ampersand by ampersand.alt1 ;
} salt;

Then create stylistic sets like this:

feature ss01 {
sub ampersand by ampersand.alt1 ;
} ss01;

feature ss02 {
sub ampersand by ampersand.alt2 ;
} ss02;

etc., for however many alternate ampersands you have.

The "salt" feature is the default alternate for programs that don't support more than one alternate. The "ss0x" features are for programs that support "stylistic sets". You will see all of them in programs with glyph or character palettes. In Adobe apps, they will also show up together in a pop-up under the ampersand in the Glyph Palette.

Syndicate content Syndicate content