From 774f2a457f7f86c76c4dbc0078b98bb72690b9ea Mon Sep 17 00:00:00 2001 From: be5invis Date: Mon, 5 Jul 2021 13:50:44 -0700 Subject: [PATCH] cleanup name duplications --- font-src/glyphs/letter/latin/lower-d.ptl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/font-src/glyphs/letter/latin/lower-d.ptl b/font-src/glyphs/letter/latin/lower-d.ptl index 409c098eb..43eeb44fb 100644 --- a/font-src/glyphs/letter/latin/lower-d.ptl +++ b/font-src/glyphs/letter/latin/lower-d.ptl @@ -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')