From 95b87acab666fa2fb2b6e3f4bc8902a4e863b73a Mon Sep 17 00:00:00 2001 From: be5invis Date: Mon, 19 Sep 2016 00:41:57 +0800 Subject: [PATCH] add style v-l-hookybottom --- glyphs/letters-unified-basic.ptl | 15 +++++++++++++++ parameters.toml | 2 ++ 2 files changed, 17 insertions(+) diff --git a/glyphs/letters-unified-basic.ptl b/glyphs/letters-unified-basic.ptl index 6e53d1e..de49708 100644 --- a/glyphs/letters-unified-basic.ptl +++ b/glyphs/letters-unified-basic.ptl @@ -309,6 +309,10 @@ export : define [apply] : begin sketch # l.hooky include markset.b + local middle : MIDDLE + LBALANCE2 + set-anchor 'above' BASE middle CAP + set-anchor 'below' BASE middle 0 + set-anchor 'overlay' BASE middle (CAP * OVERLAYPOS) include : VBar (MIDDLE + LBALANCE2) 0 (CAP - STROKE) include : LeftwardTopSerif (MIDDLE + LBALANCE2) CAP LONGJUT @@ -371,6 +375,16 @@ export : define [apply] : begin set-anchor 'overlay' BASE middle (CAP * OVERLAYPOS) save 'l.tailed' + sketch # l.hookybottom + include markset.b + local middle : MIDDLE - LBALANCE2 + set-anchor 'above' BASE middle CAP + set-anchor 'below' BASE middle 0 + set-anchor 'overlay' BASE middle (CAP * OVERLAYPOS) + include : VBar middle 0 CAP + include : RightwardBottomSerif middle 0 LONGJUT + save 'l.hookybottom' + select-variant 'l' 'l' [if para.isItalic 'italic' 'serifed'] { .'cv07' 'l.serifed' @@ -378,6 +392,7 @@ export : define [apply] : begin .'cv09' 'l.hooky' .'cv10' 'l.zshaped' .'cv27' 'l.tailed' + .'cv28' 'l.hookybottom' } alias 'palochka' 0x4CF 'l' turned 'turnl' 0xA781 'l' MIDDLE (XH / 2) markset.p diff --git a/parameters.toml b/parameters.toml index 75407ba..0598a93 100644 --- a/parameters.toml +++ b/parameters.toml @@ -562,6 +562,8 @@ l = 'italic' dotlessi = 'italic' [v-l-tailed.variantSelector] l = 'tailed' +[v-l-hookybottom.variantSelector] +l = 'hookybottom' [v-a-singlestorey.variantSelector] a = 'singlestorey' [v-a-doublestorey.variantSelector]