From 4f3d79f9005df8d4e4251762ce2ef9d741b1c351 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Fri, 15 Nov 2024 14:35:06 -0800 Subject: [PATCH] add dlig exception for fffi et al. Closes #732 --- src/features/dlig.fea | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/features/dlig.fea b/src/features/dlig.fea index 836ecca181..df31407298 100644 --- a/src/features/dlig.fea +++ b/src/features/dlig.fea @@ -7,12 +7,13 @@ lookupflag IgnoreMarks; # fi -sub f' [ +@DLIG_i_R = [ 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; +]; +sub f' @DLIG_i_R by f.i; # ff -> ff' @DLIG_f_L = [ f fdotaccent feng ]; @@ -67,6 +68,9 @@ sub f' [ # ffi (note. f.i is sub'd by liga) sub f [ f f.i ]' i by f.i.1; +# exception for e.g. fffi +ignore sub @DLIG_t1_L @DLIG_t1_L' @DLIG_t1_L @DLIG_i_R; + # tt, ft, rt, tf, ff, ft ... sub @DLIG_t1_L @DLIG_t_L' by @DLIG_t_R; sub @DLIG_t1_L @DLIG_f_L' by @DLIG_f_R;