1*e1fe3e4aSElliott Hughes# OpenType Feature File specification, section 5.f.i, example 1 2*e1fe3e4aSElliott Hughes# "Specifying a Chain Sub rule and marking sub-runs" 3*e1fe3e4aSElliott Hughes# http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html 4*e1fe3e4aSElliott Hughes 5*e1fe3e4aSElliott Hugheslanguagesystem latn dflt; 6*e1fe3e4aSElliott Hughes 7*e1fe3e4aSElliott Hugheslookup CNTXT_LIGS { 8*e1fe3e4aSElliott Hughes sub f i by f_i; 9*e1fe3e4aSElliott Hughes sub c t by c_t; 10*e1fe3e4aSElliott Hughes} CNTXT_LIGS; 11*e1fe3e4aSElliott Hughes 12*e1fe3e4aSElliott Hugheslookup CNTXT_SUB { 13*e1fe3e4aSElliott Hughes sub n by n.end; 14*e1fe3e4aSElliott Hughes sub s by s.end; 15*e1fe3e4aSElliott Hughes} CNTXT_SUB; 16*e1fe3e4aSElliott Hughes 17*e1fe3e4aSElliott Hughesfeature test { 18*e1fe3e4aSElliott Hughes sub [a e i o u] f' lookup CNTXT_LIGS i' n' lookup CNTXT_SUB; 19*e1fe3e4aSElliott Hughes sub [a e i o u] c' lookup CNTXT_LIGS t' s' lookup CNTXT_SUB; 20*e1fe3e4aSElliott Hughes} test; 21