After writing some OT feature code using the built-in editor, I have a few wishes:
-
The syntax colouring is nice but I’d like classes and glyph names to be in different colours.
-
It would be handy to be able to subtract one class from the other, like
@r_and_x = [r r.short r.somethingElse racute x];
@all_lowercase_except_r_and_x = @Lowercase - @r_and_x;
- It would be very handy to define classes based on another, with suffix removed, like
@substitutes = [f.myExtension f.short.myExtension t.myExtension];
@substitutees = [@substitutes each with '.myExtension' removed];
In the above example, the substitutes are a hand-picked selection of glyphs.
Or, in a typical, simple case like small caps, one could do:
@substitutes = [$[name endswith '.sc']];
@substitutees = [@substitutes each with '.sc' removed];
Maybe I am missing something and some of the above can be achieved as elegantly using the currently available tokens?