diff options
Diffstat (limited to 'src/features/ss05-tt.fea')
-rw-r--r-- | src/features/ss05-tt.fea | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/features/ss05-tt.fea b/src/features/ss05-tt.fea new file mode 100644 index 000000000..7218233ab --- /dev/null +++ b/src/features/ss05-tt.fea @@ -0,0 +1,19 @@ +# /t/t => /t/t.1 (horizonal stem on left side cut short) + +featureNames { name "tt ligatures"; }; + +lookup sub_tt { + # glyphs that when followed by SUB_TT_SRC triggers substitution of the 2nd glyph + @SUB_TT_PREV1 = [ + f + r + t tbar tcaron tccurl tcedilla + tcircumflexbelow tcommaaccent tcurl tdieresis + tdotaccent tdotbelow tlinebelow tpalatalhook trthook + t.1 + ]; + @SUB_TT_SRC = [ + t + ]; + sub @SUB_TT_PREV1 @SUB_TT_SRC' lookup sub_tt2; +} sub_tt; |