1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-22 02:44:34 +03:00

move fi ligature from liga to dlig

This commit is contained in:
Rasmus Andersson 2023-11-18 18:35:21 -08:00
parent 17a74a6ea9
commit d6f87b06c2
4 changed files with 8 additions and 25 deletions

View File

@ -2780,11 +2780,6 @@ code = "include(features/dlig.fea);
tag = dlig;
},
{
code = "include(features/liga.fea);
";
tag = liga;
},
{
automatic = 1;
code = "sub a by a.subs;
sub b by b.subs;

View File

@ -2776,11 +2776,6 @@ code = "include(features/calt.fea);
tag = calt;
},
{
code = "include(features/liga.fea);
";
tag = liga;
},
{
code = "include(features/dlig.fea);
";
tag = dlig;

View File

@ -6,6 +6,14 @@
# https://learn.microsoft.com/en-us/typography/opentype/spec/chapter2#lookup-table
lookupflag IgnoreMarks;
# fi
sub f' [
i idotless idotless.double itildebelow ibar igrave iacute iogonek
ihookabove idotbelow icyrillic ij i.sc
j jdotless jdotlessbar uni0249 uni0249.ccmp jcrosstail yotgreek jecyrillic
] by f.i;
# ff -> ff'
@DLIG_f_L = [ f fdotaccent feng ];
@DLIG_f_R = [ f.1 fdotaccent.1 feng.1 ];

View File

@ -1,15 +0,0 @@
# Standard Ligatures
# https://learn.microsoft.com/en-us/typography/opentype/spec/features_ko#liga
# Set IgnoreMarks to skip over marks in lookups.
# For example, if we have /f/acutecomb/i, treat lookup as /f/i
# https://learn.microsoft.com/en-us/typography/opentype/spec/chapter2#lookup-table
lookupflag IgnoreMarks;
# fi
sub f' [
i idotless idotless.double itildebelow ibar igrave iacute iogonek
ihookabove idotbelow icyrillic ij i.sc
j jdotless jdotlessbar uni0249 uni0249.ccmp jcrosstail yotgreek jecyrillic
] by f.i;