# OpenType Feature File specification, section 4.h, example 2.
# http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html

languagesystem DFLT dflt;
languagesystem latn dflt;
languagesystem latn DEU;
languagesystem cyrl dflt;
languagesystem cyrl SRB;
languagesystem grek dflt;

feature liga {
    # start of default rules that are applied under all language systems.
    lookup HAS_I {
        sub f f i by f_f_i;
        sub f i by f_i;
    } HAS_I;

    lookup NO_I {
        sub f f l by f_f_l;
        sub f f by f_f;
    } NO_I;

    # end of default rules that are applied under all language systems.

    script latn;
    language dflt;
    # default lookup for latn included under all languages for the latn script
    sub f l by f_l;

    language DEU;
    # default lookups included under the DEU language
    sub s s by germandbls;  # This is also included.

    language TRK exclude_dflt;  # default lookups are excluded.
    lookup NO_I;  # Only this lookup is included under the TRK language

    script cyrl;
    language SRB;
    sub c t by c_t;  # this rule will apply only under script cyrl language SRB.
} liga;