diff options
author | Rasmus Andersson <rasmus@notion.se> | 2022-05-31 22:37:01 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2022-05-31 22:37:01 +0300 |
commit | e322506294826997d6d9529b04a7beef77b8f1bc (patch) | |
tree | afd16da6a3f458533b21219945e0b951e35f8791 /src/features | |
parent | ed875f94c112bd74b53dd402b97aa417a78c9529 (diff) | |
download | inter-e322506294826997d6d9529b04a7beef77b8f1bc.tar.xz |
move tt sub "ligatures" from calt to ss05
Diffstat (limited to 'src/features')
-rw-r--r-- | src/features/calt.fea | 16 | ||||
-rw-r--r-- | src/features/ss05-tt.fea | 19 |
2 files changed, 19 insertions, 16 deletions
diff --git a/src/features/calt.fea b/src/features/calt.fea index 1b67187eb..dcd5a05ee 100644 --- a/src/features/calt.fea +++ b/src/features/calt.fea @@ -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; 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; |