aboutsummaryrefslogtreecommitdiff
path: root/Tests/feaLib/data/aalt_chain_contextual_subst.fea
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/feaLib/data/aalt_chain_contextual_subst.fea')
-rw-r--r--Tests/feaLib/data/aalt_chain_contextual_subst.fea20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/feaLib/data/aalt_chain_contextual_subst.fea b/Tests/feaLib/data/aalt_chain_contextual_subst.fea
new file mode 100644
index 00000000..677c2304
--- /dev/null
+++ b/Tests/feaLib/data/aalt_chain_contextual_subst.fea
@@ -0,0 +1,20 @@
+# https://github.com/googlefonts/fontmake/issues/648
+
+lookup CNTXT_LIGS {
+ sub f i by f_i;
+ sub c t by c_t;
+} CNTXT_LIGS;
+
+lookup CNTXT_SUB {
+ sub n by n.end;
+ sub s by s.end;
+} CNTXT_SUB;
+
+feature calt {
+ sub [a e i o u] f' lookup CNTXT_LIGS i' n' lookup CNTXT_SUB;
+ sub [a e i o u] c' lookup CNTXT_LIGS t' s' lookup CNTXT_SUB;
+} calt;
+
+feature aalt {
+ feature calt;
+} aalt;