move tt sub "ligatures" from calt to ss05
This commit is contained in:
parent
ed875f94c1
commit
e322506294
3 changed files with 37 additions and 17 deletions
|
|
@ -365,20 +365,4 @@ sub @Numeral @Whitespace @Whitespace x' @Whitespace @Whitespace @Numeral by mult
|
|||
|
||||
# END NxN
|
||||
# -------------------------------------------------------------------------------------
|
||||
# BEGIN /t/t => /t/t.1 (horizonal stem on left side cut short)
|
||||
|
||||
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;
|
||||
|
|
|
|||
19
src/features/ss05-tt.fea
Normal file
19
src/features/ss05-tt.fea
Normal file
|
|
@ -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;
|
||||
Reference in a new issue