It looks like you're new here. Sign in or register to get started.
ignore sub A' A' A; sub A' A by A.alt; sub A A' by A.alt;
feature calt { ignore sub A.alt A.alt A'; ignore sub A A'; sub A' A by A.alt; sub A.alt A' by A.alt; } calt;
feature calt { ignore sub A.alt A.alt A'; ignore sub A A'; ignore sub A' A A; sub A' A by A.alt; sub A.alt A' by A.alt; } calt;
ignore sub A' A A;ignore sub A A' A;ignore sub A A A';sub A' A by A.alt;sub A.alt A' by A.alt;
Comments
ignore context (A.alt) A (A);
ignore context (A) A;
context A (A);
sub 0 Ligature1;
}
lookup Ligature1 {
sub A -> A.alt;
}
But if you want to change two and only two, and not any member of a longer sequence, then you need to add another ignore sub:
What I want is:
A A -> A.alt A.alt
A A A -> A A A
A A A A -> A A A A
etc.
so not e.g.
A A A -> A.alt A.alt A
A A A A -> A.alt A.alt A A
Inspired by the answers I've played around a bit and not the prettiest solution but this seem to work:
ignore sub A A' A;
ignore sub A A A';
sub A' A by A.alt;
sub A A' by A.alt;
A A -> A A.alt
and not
A A -> A.alt A.alt
or am I missing something?