diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Inter.glyphspackage/fontinfo.plist | 19 | ||||
-rw-r--r-- | src/features/calt.fea | 16 | ||||
-rw-r--r-- | src/features/ss05-tt.fea | 19 |
3 files changed, 37 insertions, 17 deletions
diff --git a/src/Inter.glyphspackage/fontinfo.plist b/src/Inter.glyphspackage/fontinfo.plist index f93108b2e..dd916347e 100644 --- a/src/Inter.glyphspackage/fontinfo.plist +++ b/src/Inter.glyphspackage/fontinfo.plist @@ -2162,7 +2162,7 @@ languagesystem latn CAT; name = Languagesystems; }, { -code = "# used by calt +code = "# used by ss05 lookup sub_tt2 { sub t by t.1; } sub_tt2; @@ -2423,10 +2423,27 @@ tag = ss03; { code = "include(features/ss04-disambiguation.fea); "; +labels = ( +{ +language = dflt; +value = ""; +} +); notes = "Name: "; tag = ss04; }, { +code = "include(features/ss05-tt.fea); +"; +labels = ( +{ +language = dflt; +value = ""; +} +); +tag = ss05; +}, +{ code = "include(features/cv01-one.fea);"; tag = cv01; }, 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; |