Skip to content

Commit 4f3d79f

Browse files
committed
add dlig exception for fffi et al. Closes #732
1 parent 94a95d4 commit 4f3d79f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/features/dlig.fea

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
lookupflag IgnoreMarks;
88

99
# fi
10-
sub f' [
10+
@DLIG_i_R = [
1111
i idotless idotless.double itildebelow ibar igrave iacute iogonek
1212
ihookabove idotbelow icyrillic ij i.sc
1313

1414
j jdotless jdotlessbar uni0249 uni0249.ccmp jcrosstail yotgreek jecyrillic
15-
] by f.i;
15+
];
16+
sub f' @DLIG_i_R by f.i;
1617

1718
# ff -> ff'
1819
@DLIG_f_L = [ f fdotaccent feng ];
@@ -67,6 +68,9 @@ sub f' [
6768
# ffi (note. f.i is sub'd by liga)
6869
sub f [ f f.i ]' i by f.i.1;
6970

71+
# exception for e.g. fffi
72+
ignore sub @DLIG_t1_L @DLIG_t1_L' @DLIG_t1_L @DLIG_i_R;
73+
7074
# tt, ft, rt, tf, ff, ft ...
7175
sub @DLIG_t1_L @DLIG_t_L' by @DLIG_t_R;
7276
sub @DLIG_t1_L @DLIG_f_L' by @DLIG_f_R;

0 commit comments

Comments
 (0)