summaryrefslogtreecommitdiff
path: root/src/features/liga.fea
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2023-04-25 02:34:22 +0300
committerRasmus Andersson <rasmus@notion.se>2023-04-25 02:34:22 +0300
commit4c9ced5068d485b90608c28590473a960fa72712 (patch)
tree99a778cf430a772053dc9be8b4c88aca4a8f9102 /src/features/liga.fea
parent719a1421f944b95baa42455fd4f2d849d70fe84e (diff)
downloadinter-4c9ced5068d485b90608c28590473a960fa72712.tar.xz
adds ss06 that enables the exact same things as liga
Diffstat (limited to 'src/features/liga.fea')
-rw-r--r--src/features/liga.fea16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/features/liga.fea b/src/features/liga.fea
index 8fa85f646..47491836e 100644
--- a/src/features/liga.fea
+++ b/src/features/liga.fea
@@ -1,5 +1,9 @@
-# Standard Ligatures
+# Standard Ligatures (also available via ss06)
# https://learn.microsoft.com/en-us/typography/opentype/spec/features_ko#liga
+#
+# Note: this code is included for both liga and ss06, thus classes like LIGA_L_t
+# are defined in a separate file: liga-classes.fea (classes are not namespaced)
+#
# Set IgnoreMarks to skip over marks in lookups.
# For example, if we have /f/acutecomb/i, treat lookup as /f/i
@@ -18,15 +22,5 @@ sub f' [
] by f.i;
# tt, ft, rt, tf, ff, ft, etc.
-# left side "trigger" glyph for t.1 and f.1 sub
-@LIGA_L_t = [
- f f.1 fdotaccent feng
-
- r rrthook uni024D rfishhook rdescend racute rcommaaccent rcaron
- rdblgrave rinvertedbreve rdotaccent rdotbelow rdotbelowmacron rlinebelow
-
- t t.1 tpalatalhook trthook tcurl tbar tcedilla tcaron tcommaaccent tdotaccent
- tdotbelow tlinebelow tcircumflexbelow tdieresis
-];
sub @LIGA_L_t t' by t.1;
sub @LIGA_L_t f' by f.1;