File: spec5fi1.fea

package info (click to toggle)
fonttools 4.61.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,588 kB
  • sloc: python: 145,091; xml: 103; makefile: 24
file content (20 lines) | stat: -rw-r--r-- 523 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# OpenType Feature File specification, section 5.f.i, example 1
# "Specifying a Chain Sub rule and marking sub-runs"
# http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html

languagesystem latn dflt;

lookup CNTXT_LIGS {
    sub f i by f_i;
    sub c t by c_t;
} CNTXT_LIGS;

lookup CNTXT_SUB {
    sub n by n.end;
    sub s by s.end;
} CNTXT_SUB;
 
feature test {
    sub [a e i o u] f' lookup CNTXT_LIGS i' n' lookup CNTXT_SUB;
    sub [a e i o u] c' lookup CNTXT_LIGS t' s' lookup CNTXT_SUB;
} test;