summaryrefslogtreecommitdiff
path: root/src/features/ss05-tt.fea
blob: 7218233abc6de85c7993a93c74666ee4bbc36878 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;