I'm trying to slowly build up my opentype features, but I have reached an impasse with my Turkish i in small caps. The InDesign 'Opentype small caps' does no longer work for the languages excluded in 'locl', but it seems to work in Fontlab's opentype 'Preview' panel... that is except the substitution between the small caps I and the dotted Turkish small caps I. What have I done wrong?
@_n1=[a h m n aring adieresis agrave aacute acircumflex];
@_period=[period comma quotesinglbase quotedblbase];
@_n2=[m n r u udieresis uacute ugrave ucircumflex];
@_o1=[b e o p oslash edieresis eacute oacute odieresis ograve egrave ocircumflex ecircumflex];
@_o2=[c d e o q oslash edieresis eacute oacute odieresis ograve egrave ocircumflex ecircumflex];
@_i3=[i j dotlessi iacute igrave icircumflex];
@_v3=[v w x y ydieresis yacute];
@_dashes=[hyphen endash emdash];
@_upperquote=[quotesingle quoteleft quoteright quotedblleft quotedblright];
@_k1=[k ];
@_l2=[h l k];
@_O2=[C Ccedilla G O Oslash Q];
@_O1=[D O Oslash Q];
@_H2=[B D E F H I K L M N P R U];
@_H1=[H I M N U];
@lc=[a b c d e f g h i j k l m n o p q r s t u v w x y z];
@sc=[Asmall Bsmall Csmall Dsmall Esmall Fsmall Gsmall Hsmall Ismall Jsmall Ksmall Lsmall Msmall Nsmall Osmall Psmall Qsmall Rsmall Ssmall Tsmall Usmall Vsmall Wsmall Xsmall Ysmall Zsmall];
@uc=[A B C D E F G H I J K L M N O P Q R S T U V W X Y Z];
@acute=[cacute sacute zacute nacute oacute];
@kreska=[ckreska skreska zkreska nkreska okreska];
@_n1=[a h m n aring adieresis agrave aacute acircumflex];
@_period=[period comma quotesinglbase quotedblbase];
@_n2=[m n r u udieresis uacute ugrave ucircumflex];
@_o1=[b e o p oslash edieresis eacute oacute odieresis ograve egrave ocircumflex ecircumflex];
@_o2=[c d e o q oslash edieresis eacute oacute odieresis ograve egrave ocircumflex ecircumflex];
@_i3=[i j dotlessi iacute igrave icircumflex];
@_v3=[v w x y ydieresis yacute];
@_dashes=[hyphen endash emdash];
@_upperquote=[quotesingle quoteleft quoteright quotedblleft quotedblright];
@_k1=[k ];
@_l2=[h l k];
@_O2=[C Ccedilla G O Oslash Q];
@_O1=[D O Oslash Q];
@_H2=[B D E F H I K L M N P R U];
@_H1=[H I M N U];
@lc=[a b c d e f g h i j k l m n o p q r s t u v w x y z];
@sc=[Asmall Bsmall Csmall Dsmall Esmall Fsmall Gsmall Hsmall Ismall Jsmall Ksmall Lsmall Msmall Nsmall Osmall Psmall Qsmall Rsmall Ssmall Tsmall Usmall Vsmall Wsmall Xsmall Ysmall Zsmall];
@uc=[A B C D E F G H I J K L M N O P Q R S T U V W X Y Z];
@acute=[cacute sacute zacute nacute oacute];
@kreska=[ckreska skreska zkreska nkreska okreska];
languagesystem latn dflt;
languagesystem latn PLK;
languagesystem latn MOL;
languagesystem latn ROM;
languagesystem latn TRK;
languagesystem latn AZE;
languagesystem latn CRT;
languagesystem cyrl dflt;
languagesystem cyrl SRB;
languagesystem grek dflt;
feature locl { # Localized Forms
# Latin
# Handling of Turkish i
language TRK exclude_dflt;
lookup locl_TRK {
sub [i Ismall] by [i.TRK Idotaccentsmall];
# The Òi.TRKÓ glyph should be an identical copy of ÒiÓ
} locl_TRK;
language AZE exclude_dflt;
lookup locl_TRK;
language CRT exclude_dflt;
lookup locl_TRK;
# Handling of Romanian Scommaaccent
language ROM exclude_dflt; # Romanian
lookup locl_ROM {
sub [Scedilla scedilla] by [uni0218 uni0219];
sub [uni0162 uni0163] by [uni021A uni021B];
} locl_ROM;
language MOL exclude_dflt; # Moldavian
lookup locl_ROM;
language PLK exclude_dflt; # Polish;
sub @acute by @kreska;
} locl;
feature c2sc {
sub @uc by @sc;
} c2sc;
feature smcp {
sub @lc by @sc;
} smcp;
feature liga {
sub f f l by ffl;
sub f f i by ffi;
sub f f by ff;
sub f i by fi;
sub f i.TRK by fi;
sub f l by fl;
sub f b by f_b;
sub f f b by f_f_b;
sub f h by f_h;
sub f f h by f_f_h;
sub f j by f_j;
sub f f j by f_f_j;
sub f k by f_k;
sub f f k by f_f_k;
sub T h by T_h;
} liga;
feature kern {
pos slash slash -357;
pos backslash backslash -357;
} kern;



