Add earless m/n variants with motion serifs. (#1975)

This commit is contained in:
John McWilliams 2023-09-01 21:05:33 -04:00 committed by GitHub
parent 736700fe02
commit 4feaad6334
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 30 additions and 7 deletions

View file

@ -186,6 +186,7 @@ glyph-block Letter-Latin-Lower-M : begin
"serifless" { no-shape }
"serifed" { FullSerifs }
"topLeftSerifed" { LtSerifs }
"bottomRightSerifed" { RbSerifs }
"topLeftAndBottomRightSerifed" { LtRbSerifs }
foreach { suffix { {Body earless} {shortLeg} {tailed} {Serifs} } } [pairs-of SmallMConfig] : do

View file

@ -77,7 +77,13 @@ glyph-block Letter-Latin-Lower-N : begin
function [body tail] : object # serifs
serifless { nothing nothing nothing }
topLeftSerifed { NTopLeftSerif nothing nothing }
motionSerifed { NTopLeftSerif nothing [if (tail != 'tailed') NBottomRightSerifItalic] }
motionSerifed : list
match body
([Just "earlessCorner"] || [Just "earlessRounded"]) nothing
([Just "earlessCornerHTB"] || [Just "earlessRoundedHTB"]) NHTB
__ NTopLeftSerif
begin nothing
if (tail != 'tailed') NBottomRightSerifItalic
serifed : list
match body
([Just "earlessCorner"] || [Just "earlessRounded"]) nothing