File: GSUB_2.fea

package info (click to toggle)
fonttools 4.61.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,584 kB
  • sloc: python: 145,091; xml: 103; makefile: 24
file content (35 lines) | stat: -rw-r--r-- 582 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
feature f1 {
    sub c_t by c t;
    sub f_i by f i;
    sub f_f_i by f f i;
} f1;


# Even if it has exactly the same content as feature f1,
# the lookup should not be shared.
feature f2 {
    sub c_t by c t;
    sub f_i by f i;
    sub f_f_i by f f i;
} f2;

feature f3 {
    sub [f_i f_l f_f_i f_f_l] by f [i l f_i f_l];
} f3;

feature f4 {
    sub [f_i f_l f_f_i f_f_l] by [f f f_f f_f] [i l i l];
} f4;

@class = [f_i f_l];
lookup l1 {
   sub @class by f [i l];
} l1;

feature f5 {
   sub @class' lookup l1 [i l];
} f5;

feature f6 {
    sub [f_i f_i]' j by [f f] [i i];
} f6;