xref: /aosp_15_r20/external/fonttools/Tests/feaLib/data/GSUB_2.fea (revision e1fe3e4ad2793916b15cccdc4a7da52a7e1dd0e9)
1feature f1 {
2    sub c_t by c t;
3    sub f_i by f i;
4    sub f_f_i by f f i;
5} f1;
6
7
8# Even if it has exactly the same content as feature f1,
9# the lookup should not be shared.
10feature f2 {
11    sub c_t by c t;
12    sub f_i by f i;
13    sub f_f_i by f f i;
14} f2;
15
16feature f3 {
17    sub [f_i f_l f_f_i f_f_l] by f [i l f_i f_l];
18} f3;
19
20feature f4 {
21    sub [f_i f_l f_f_i f_f_l] by [f f f_f f_f] [i l i l];
22} f4;
23
24@class = [f_i f_l];
25lookup l1 {
26   sub @class by f [i l];
27} l1;
28
29feature f5 {
30   sub @class' lookup l1 [i l];
31} f5;
32
33feature f6 {
34    sub [f_i f_i]' j by [f f] [i i];
35} f6;
36