Opentype Feature - string replacement?

sepp88's picture

Hi guys,
i'm totally new here. I wanted to ask you if it's possible to do a string replacement via opentype programming? you know, it's possible to replace ligatures

sub f f by ff;

however is it possible to do something like this?

sub a b by c d;

So if i type "ab" i get "cd"?

Thank you for your help and your tips.

Syndicate content Syndicate content