diff options
author | Rasmus Andersson <rasmus@notion.se> | 2023-04-25 02:34:22 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2023-04-25 02:34:22 +0300 |
commit | 4c9ced5068d485b90608c28590473a960fa72712 (patch) | |
tree | 99a778cf430a772053dc9be8b4c88aca4a8f9102 /src/features | |
parent | 719a1421f944b95baa42455fd4f2d849d70fe84e (diff) | |
download | inter-4c9ced5068d485b90608c28590473a960fa72712.tar.xz |
adds ss06 that enables the exact same things as liga
Diffstat (limited to 'src/features')
-rw-r--r-- | src/features/liga-classes.fea | 12 | ||||
-rw-r--r-- | src/features/liga.fea | 16 |
2 files changed, 17 insertions, 11 deletions
diff --git a/src/features/liga-classes.fea b/src/features/liga-classes.fea new file mode 100644 index 000000000..ce623a989 --- /dev/null +++ b/src/features/liga-classes.fea @@ -0,0 +1,12 @@ +# classes used by liga and ss06 + +# 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 +]; 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; |