Add more alternative exclamation-related ligation sets (exeqeq-alt-1, eqexeq-alt-1, eqexeq-dl-alt-1) (#748).

This commit is contained in:
be5invis 2020-11-21 13:10:38 -08:00
parent 9d916bc5b1
commit 31a156ec14
5 changed files with 32 additions and 0 deletions

View file

@ -255,6 +255,10 @@ glyph-block Symbol-Ligation : begin
notGlyph.generic 'equal.fc.neg3-alt-1' null 'equal.fc' (shift -- (Width * 1.0)) (F -- exSlash2)
notGlyph.generic 'equal.fc.neg4-alt-1' null 'equal.fc' (shift -- (Width * 1.5)) (F -- exSlash2)
notGlyph.generic 'ident.fc.neg-alt-1' null 'ident.fc' (shift -- (Width * 0.5)) (F -- exSlash2)
notGlyph.generic 'ident.fc.neg3-alt-1' null 'ident.fc' (shift -- (Width * 1.0)) (F -- exSlash2)
notGlyph.generic 'ident.fc.neg4-alt-1' null 'ident.fc' (shift -- (Width * 1.5)) (F -- exSlash2)
do "<| , |> and <>"
glyph-block-import Symbol-Math-Relation : LessShape GreaterShape

View file

@ -790,14 +790,26 @@ define [buildLigationsImpl sink para featureName mappedFeature rankedLookups] :
equal ~> {'equal.cc'}
equal ~> {'equal.cf'}
piecewise
[hasLG 'exeqeq-alt-1'] : chain-rule
exclam ~> {'ident.fc.neg3-alt-1'}
equal ~> {'ident.cc'}
equal ~> {'ident.cf'}
[hasLG 'exeqeq'] : chain-rule
exclam ~> {'ident.fc.neg3'}
equal ~> {'ident.cc'}
equal ~> {'ident.cf'}
[hasLG 'eqexeq-alt-1'] : chain-rule
equal ~> {'ident.fc.neg3-alt-1'}
exclam ~> {'ident.cc'}
equal ~> {'ident.cf'}
[hasLG 'eqexeq'] : chain-rule
equal ~> {'ident.fc.neg3'}
exclam ~> {'ident.cc'}
equal ~> {'ident.cf'}
[hasLG 'eqexeq-dl-alt-1'] : chain-rule
equal ~> {'equal.fc.neg3-alt-1'}
exclam ~> {'equal.cc'}
equal ~> {'equal.cf'}
[hasLG 'eqexeq-dl'] : chain-rule
equal ~> {'equal.fc.neg3'}
exclam ~> {'equal.cc'}