diff --git a/changes/28.0.4.md b/changes/28.0.4.md index 6b2b65fb0..169277e66 100644 --- a/changes/28.0.4.md +++ b/changes/28.0.4.md @@ -1,3 +1,4 @@ * Fix leaning marks of turned capital F/L (#2137). * Fix overlay bar placement of Z with Hook and Z with Swash Tail (#2141). * Fix attachment of descender parts of Cyrillic Lower Ha/X under `x` = `cursive` (#2142). +* Make the Eng part in LATIN SMALL LETTER FENG DIGRAPH always connected to the f part (#2143). diff --git a/packages/font-glyphs/src/letter/latin/lower-n.ptl b/packages/font-glyphs/src/letter/latin/lower-n.ptl index 44d06651d..460c837e1 100644 --- a/packages/font-glyphs/src/letter/latin/lower-n.ptl +++ b/packages/font-glyphs/src/letter/latin/lower-n.ptl @@ -91,7 +91,13 @@ glyph-block Letter-Latin-Lower-N : begin tailed 1 function [body tail] : object # serifs serifless { nothing nothing nothing } - topLeftSerifed { NTopLeftSerif nothing nothing } + topLeftSerifed : list + match body + ([Just "earlessCorner"] || [Just "earlessRounded"]) nothing + ([Just "earlessCornerHTB"] || [Just "earlessRoundedHTB"]) NHTB + __ NTopLeftSerif + begin nothing + begin nothing motionSerifed : list match body ([Just "earlessCorner"] || [Just "earlessRounded"]) nothing diff --git a/params/variants.toml b/params/variants.toml index e7160cafc..9131ac6c4 100644 --- a/params/variants.toml +++ b/params/variants.toml @@ -3032,7 +3032,7 @@ descriptionLeader = "`n`" [prime.n.variants-buildup.stages.body."*"] next = "terminal" -[prime.n.variants-buildup.stages.body.normal] +[prime.n.variants-buildup.stages.body.eared] rank = 1 keyAffix = "" selectorAffix.n = "" @@ -3129,7 +3129,7 @@ selectorAffix."n/sansSerif" = "serifless" selectorAffix."n/descBase" = "serifless" selectorAffix."n/lTailBase" = "serifless" selectorAffix.eng = "serifless" -selectorAffix."eng/phoneticRight" = "serifless" +selectorAffix."eng/phoneticRight" = "topLeftSerifed" selectorAffix."eng/lTailBase" = "serifless" selectorAffix."grek/eta" = "serifless" selectorAffix."grek/eta/sansSerif" = "serifless" @@ -3141,7 +3141,7 @@ selectorAffix."cyrl/yat.italic/base/cursive" = "serifless" [prime.n.variants-buildup.stages.serifs.top-left-serifed] rank = 2 descriptionAffix = "serif at top left" -enableIf = [ { body = "normal", terminal = "NOT tailed" } ] +enableIf = [ { body = "eared", terminal = "NOT tailed" } ] selectorAffix.n = "topLeftSerifed" selectorAffix."n/sansSerif" = "serifless" selectorAffix."n/descBase" = "topLeftSerifed" @@ -3159,15 +3159,15 @@ selectorAffix."cyrl/yat.italic/base/cursive" = "topLeftSerifed" [prime.n.variants-buildup.stages.serifs.motion-serifed] rank = 3 descriptionAffix = "serif at top left and bottom right" -disableIf = [ { body = "NOT normal", terminal = "tailed" } ] +disableIf = [ { body = "NOT eared", terminal = "tailed" } ] selectorAffix.n = "motionSerifed" selectorAffix."n/sansSerif" = "serifless" -selectorAffix."n/descBase" = { if = [{ body = "normal" }], then = "topLeftSerifed", else = "serifless" } +selectorAffix."n/descBase" = { if = [{ body = "eared" }], then = "topLeftSerifed", else = "serifless" } selectorAffix."n/lTailBase" = { if = [{ terminal = "straight" }], then = "motionSerifed", else = { if = [{ body = "normal" }], then = "topLeftSerifed", else = "serifless" } } -selectorAffix.eng = { if = [{ body = "normal" }], then = "topLeftSerifed", else = "serifless" } -selectorAffix."eng/phoneticRight" = { if = [{ body = "normal" }], then = "topLeftSerifed", else = "serifless" } -selectorAffix."eng/lTailBase" = { if = [{ body = "normal" }], then = "topLeftSerifed", else = "serifless" } -selectorAffix."grek/eta" = { if = [{ body = "normal" }], then = "topLeftSerifed", else = "serifless" } +selectorAffix.eng = { if = [{ body = "eared" }], then = "topLeftSerifed", else = "serifless" } +selectorAffix."eng/phoneticRight" = "topLeftSerifed" +selectorAffix."eng/lTailBase" = { if = [{ body = "eared" }], then = "topLeftSerifed", else = "serifless" } +selectorAffix."grek/eta" = { if = [{ body = "eared" }], then = "topLeftSerifed", else = "serifless" } selectorAffix."grek/eta/sansSerif" = "serifless" selectorAffix."cyrl/pe.italic" = "motionSerifed" selectorAffix."cyrl/peItalicDescBase" = "topLeftSerifed" @@ -3183,8 +3183,8 @@ selectorAffix."n/descBase" = "serifed" selectorAffix."n/lTailBase" = { if = [{ terminal = "straight" }], then = "serifed", else = { if = [{ body = "normal" }], then = "topLeftSerifed", else = "serifless" } } selectorAffix.eng = "serifed" selectorAffix."eng/phoneticRight" = "serifed" -selectorAffix."eng/lTailBase" = { if = [{ body = "normal" }], then = "topLeftSerifed", else = "serifless" } -selectorAffix."grek/eta" = { if = [{ body = "normal" }], then = "topLeftSerifed", else = "serifless" } +selectorAffix."eng/lTailBase" = { if = [{ body = "eared" }], then = "topLeftSerifed", else = "serifless" } +selectorAffix."grek/eta" = { if = [{ body = "eared" }], then = "topLeftSerifed", else = "serifless" } selectorAffix."grek/eta/sansSerif" = "serifless" selectorAffix."cyrl/pe.italic" = "serifed" selectorAffix."cyrl/peItalicDescBase" = "serifed"