cleanup name duplications

This commit is contained in:
be5invis 2021-07-05 13:50:44 -07:00
parent 094f2ad1d6
commit 774f2a457f

View file

@ -53,22 +53,22 @@ glyph-block Letter-Latin-Lower-D : begin
toothlessRoundedSeriflessHBB { ToothlessRoundedHBBBody null null }
toothlessRoundedSerifedHBB { ToothlessRoundedHBBBody TopSerif null }
foreach { suffix { Body TopSerif BottomSerif } } [Object.entries DConfig] : do
foreach { suffix { Body topSerif bottomSerif } } [Object.entries DConfig] : do
create-glyph "d.\(suffix)" : glyph-proc
include : MarkSet.b
include : Body
if TopSerif : include : TopSerif
if BottomSerif : include : BottomSerif
if topSerif : include : topSerif
if bottomSerif : include : bottomSerif
create-glyph "dcroat.\(suffix)" : glyph-proc
include [refer-glyph "d.\(suffix)"] AS_BASE ALSO_METRICS
include : HOverlayBar [mix SB RightSB 0.5] [mix RightSB Width 0.7] [mix XH (CAP - [if TopSerif Stroke 0]) 0.45]
include : HOverlayBar [mix SB RightSB 0.5] [mix RightSB Width 0.7] [mix XH (CAP - [if topSerif Stroke 0]) 0.45]
create-glyph "latn/de.\(suffix)" : glyph-proc
include [refer-glyph "d.\(suffix)"] AS_BASE ALSO_METRICS
local xLeft : mix RightSB SB 0.9
include : HBarTop xLeft (RightSB + O) CAP
if TopSerif : include : DownwardLeftSerif xLeft CAP : Math.min VJut (0.8 * (CAP - XH))
if topSerif : include : DownwardLeftSerif xLeft CAP : Math.min VJut (0.8 * (CAP - XH))
select-variant 'd' 'd'
select-variant 'dcroat' 0x111 (follow -- 'd')