xref: /aosp_15_r20/external/fonttools/Tests/feaLib/data/GSUB_6.fea (revision e1fe3e4ad2793916b15cccdc4a7da52a7e1dd0e9)
1*e1fe3e4aSElliott Hugheslookup ChainedSingleSubst {
2*e1fe3e4aSElliott Hughes    sub [one two] three A' by A.sc;
3*e1fe3e4aSElliott Hughes    sub [B - D]' seven [eight nine] by [B.sc - D.sc];
4*e1fe3e4aSElliott Hughes} ChainedSingleSubst;
5*e1fe3e4aSElliott Hughes
6*e1fe3e4aSElliott Hugheslookup ChainedMultipleSubst {
7*e1fe3e4aSElliott Hughes    sub [A - C a - c] [D d] E c_t' V [W w] [X - Z x - z] by c t;
8*e1fe3e4aSElliott Hughes} ChainedMultipleSubst;
9*e1fe3e4aSElliott Hughes
10*e1fe3e4aSElliott Hugheslookup ChainedAlternateSubst {
11*e1fe3e4aSElliott Hughes    sub [space comma semicolon] e' from [e e.begin];
12*e1fe3e4aSElliott Hughes} ChainedAlternateSubst;
13*e1fe3e4aSElliott Hughes
14*e1fe3e4aSElliott Hugheslookup ChainedLigatureSubst {
15*e1fe3e4aSElliott Hughes    sub A [C c]' [T t]' Z by c_t;
16*e1fe3e4aSElliott Hughes} ChainedLigatureSubst;
17*e1fe3e4aSElliott Hughes
18*e1fe3e4aSElliott Hugheslookup ChainedContextualSubst {
19*e1fe3e4aSElliott Hughes    sub A D E c_t' lookup ChainedMultipleSubst V W X;
20*e1fe3e4aSElliott Hughes} ChainedContextualSubst;
21*e1fe3e4aSElliott Hughes
22*e1fe3e4aSElliott Hughesfeature test {
23*e1fe3e4aSElliott Hughes    lookup ChainedSingleSubst;
24*e1fe3e4aSElliott Hughes    lookup ChainedMultipleSubst;
25*e1fe3e4aSElliott Hughes    lookup ChainedAlternateSubst;
26*e1fe3e4aSElliott Hughes    lookup ChainedLigatureSubst;
27*e1fe3e4aSElliott Hughes    lookup ChainedContextualSubst;
28*e1fe3e4aSElliott Hughes} test;
29