summaryrefslogtreecommitdiff
path: root/src/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/features')
-rw-r--r--src/features/calt.fea17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/features/calt.fea b/src/features/calt.fea
index 1ca7995e0..1b67187eb 100644
--- a/src/features/calt.fea
+++ b/src/features/calt.fea
@@ -365,3 +365,20 @@ 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;