xref: /aosp_15_r20/external/fonttools/Tests/feaLib/data/aalt_chain_contextual_subst.fea (revision e1fe3e4ad2793916b15cccdc4a7da52a7e1dd0e9)
1# https://github.com/googlefonts/fontmake/issues/648
2
3lookup CNTXT_LIGS {
4    sub f i by f_i;
5    sub c t by c_t;
6} CNTXT_LIGS;
7
8lookup CNTXT_SUB {
9    sub n by n.end;
10    sub s by s.end;
11} CNTXT_SUB;
12
13feature calt {
14    sub [a e i o u] f' lookup CNTXT_LIGS i' n' lookup CNTXT_SUB;
15    sub [a e i o u] c' lookup CNTXT_LIGS t' s' lookup CNTXT_SUB;
16} calt;
17
18feature aalt {
19    feature calt;
20} aalt;
21