Add v-ampersand-et-toothed (#211)

This commit is contained in:
Belleve Invis 2020-06-01 02:24:33 -07:00
parent dcab930833
commit 1c2446a614
2 changed files with 38 additions and 6 deletions

View file

@ -602,7 +602,9 @@ glyph-block Symbol-Punctuation-Ampersand : begin
define fineEt : sw * CThin
define xEtLeft SB
define xEtRight : mix xUpperLoopRight RightSB 0.5
define xEtMiddle : mix xEtRight Width 0.5
define xEtBottom : mix xEtLeft xEtRight 0.5
define xEtCenterBarRight : mix xEtRight Width 0.5
define yEtRightBarTop : mix (yEtMiddle + sw / 2) (CAP - SHook) 0.375
create-glyph 'ampersand.et' : union
dispiro
@ -611,17 +613,41 @@ glyph-block Symbol-Punctuation-Ampersand : begin
g4 xEtLeft (CAP - smaEt)
arcvh
flat Middle (yEtMiddle - (fineEt - sw / 2)) [widths.heading fineEt 0 Rightward]
curl xEtMiddle (yEtMiddle - (fineEt - sw / 2)) [heading Rightward]
curl xEtCenterBarRight (yEtMiddle - (fineEt - sw / 2)) [heading Rightward]
dispiro
flat xEtMiddle (yEtMiddle + (fineEt - sw / 2)) [widths.heading fineEt 0 Leftward]
flat xEtCenterBarRight (yEtMiddle + (fineEt - sw / 2)) [widths.heading fineEt 0 Leftward]
curl Middle (yEtMiddle + (fineEt - sw / 2)) [heading Leftward]
archv
g4 (xEtLeft + O * 2) smbEt [widths.lhs]
arcvh
g4 ([mix xEtLeft xEtRight 0.5] + CorrectionOMidS) O
g4 (xEtBottom + CorrectionOMidS) O
archv
flat (xEtRight - O) smaEt
curl (xEtRight - O) [mix (yEtMiddle + sw / 2) (CAP - SHook) 0.375] [heading Upward]
flat xEtRight smaEt
curl xEtRight yEtRightBarTop [heading Upward]
local sbEtToothed : shoulderMidSlope ShoulderFine nothing (-1)
create-glyph 'ampersand.etToothed' : union
dispiro
g4 (xEtRight + O) (CAP - SHook) [widths.lhs]
hookstart (CAP - O)
g4 xEtLeft (CAP - smaEt)
arcvh
flat Middle (yEtMiddle - (fineEt - sw / 2)) [widths.heading fineEt 0 Rightward]
curl xEtCenterBarRight (yEtMiddle - (fineEt - sw / 2)) [heading Rightward]
dispiro
flat xEtCenterBarRight (yEtMiddle + (fineEt - sw / 2)) [widths.heading fineEt 0 Leftward]
curl Middle (yEtMiddle + (fineEt - sw / 2)) [heading Leftward]
archv
g4 (xEtLeft + O * 2) smbEt [widths.lhs]
arcvh
g4.right.mid (xEtBottom + (CorrectionOMidX - sbEtToothed) * Stroke) O [widths.heading Stroke 0 {.y (1) .x (sbEtToothed)}]
archv
straight.up.end (xEtRight - (Stroke - ShoulderFine) * HVContrast) smaEt [widths.heading ShoulderFine 0 Upward]
VBarRight xEtRight smaEt yEtRightBarTop
VBarRight xEtRight smaEt 0 [Math.max [adviceBlackness 5] (Stroke - ShoulderFine / 2)]
select-variant 'ampersand' '&'

View file

@ -601,6 +601,12 @@ sampler = '&'
description = 'Ampersand (`&`) drawn like a ligature of E and t'
ampersand = 'et'
[simple.v-ampersand-et-toothed]
tag = 'VXAJ'
sampler = '&'
description = 'Ampersand (`&`) drawn like a ligature of E and t with tooth'
ampersand = 'etToothed'
[simple.v-at-threefold]
tag = 'cv31'
sampler = '@'