extends t.1 and f.1 to cover all t and f derivatives, plus adds cv11 and cv12 for explicit access

This commit is contained in:
Rasmus Andersson 2023-05-25 15:26:31 -07:00
parent af769e7395
commit 3b07eda8fd
62 changed files with 2413 additions and 174 deletions

View file

@ -0,0 +1,6 @@
# Note: don't use cvParameters here since this file is
# included for both salt and cvXX
sub f by f.1;
sub fdotaccent by fdotaccent.1;
sub feng by feng.1;

View file

@ -0,0 +1,13 @@
# Note: don't use cvParameters here since this file is
# included for both salt and cvXX
sub t by t.1;
sub tpalatalhook by tpalatalhook.1;
sub tcedilla by tcedilla.1;
sub tcaron by tcaron.1;
sub tcommaaccent by tcommaaccent.1;
sub tdotaccent by tdotaccent.1;
sub tdotbelow by tdotbelow.1;
sub tlinebelow by tlinebelow.1;
sub tcircumflexbelow by tcircumflexbelow.1;
sub tdieresis by tdieresis.1;

View file

@ -6,17 +6,31 @@
# https://learn.microsoft.com/en-us/typography/opentype/spec/chapter2#lookup-table
lookupflag IgnoreMarks;
# ff -> ff'
@DLIG_f_L = [ f fdotaccent feng ];
@DLIG_f_R = [ f.1 fdotaccent.1 feng.1 ];
# tt -> tt'
@DLIG_t_L = [
t tpalatalhook tcedilla tcaron tcommaaccent tdotaccent tdotbelow
tlinebelow tcircumflexbelow tdieresis
];
@DLIG_t_R = [
t.1 tpalatalhook.1 tcedilla.1 tcaron.1 tcommaaccent.1 tdotaccent.1 tdotbelow.1
tlinebelow.1 tcircumflexbelow.1 tdieresis.1
];
# left side "trigger" glyph for t.1 and f.1 sub
@DLIG_L_t = [
f f.1 fdotaccent feng
@DLIG_t1_L = [
@DLIG_f_L @DLIG_f_R
k khook kcommaaccent kcaron kacute kdotbelow klinebelow k.base
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
@DLIG_t_L @DLIG_t_R
v vtilde vdotbelow
@ -29,12 +43,13 @@ lookupflag IgnoreMarks;
uhungarumlautcyrillic yogonek y.sc
];
# ffi (note. f.i is sub'd by liga)
sub f [ f f.i ]' i by f.i.1;
# tt, ft, rt, tf, ff, ft ...
sub @DLIG_L_t t' by t.1;
sub @DLIG_L_t f' by f.1;
sub @DLIG_t1_L @DLIG_t_L' by @DLIG_t_R;
sub @DLIG_t1_L @DLIG_f_L' by @DLIG_f_R;
# interrobang
sub exclam question by interrobang;