From 59d49f026aa5e3ea7cc26c9c9ab4712dd1a2ed2d Mon Sep 17 00:00:00 2001 From: Belleve Invis Date: Sat, 4 Apr 2020 23:28:52 -0700 Subject: [PATCH] Added variants for `9` like a turned `6` (#363). --- changes/3.0.0-rc.6.md | 1 + glyphs/numbers.ptl | 22 +++++++++++++++++++--- variants.toml | 15 ++++++++++++++- 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/changes/3.0.0-rc.6.md b/changes/3.0.0-rc.6.md index d75af3fcc..5d7f009fb 100644 --- a/changes/3.0.0-rc.6.md +++ b/changes/3.0.0-rc.6.md @@ -10,3 +10,4 @@ * Make `m.shortleg` more distinctive (#471). * Add ligation for waved double-headed-arrow (#475). * Expand the ligation set for colons to all dotty operators (#476). + * Added variants for `9` like a turned `6` (#363). \ No newline at end of file diff --git a/glyphs/numbers.ptl b/glyphs/numbers.ptl index 8fd0b2c8e..88305d875 100644 --- a/glyphs/numbers.ptl +++ b/glyphs/numbers.ptl @@ -382,16 +382,32 @@ glyph-block Numbers : begin hookend O g4 SB HOOK - sketch # nine + sketch include MarkSet.capital include : NineShape CAP - save 'nine.lnum' '9' + save 'nine.lnum.closedContour' sketch include MarkSet.p include : NineShape (XH - DESCENDER) include : ShiftDown - save 'nine.onum' + save 'nine.onum.closedContour' + + sketch + include MarkSet.capital + include : refer-glyph 'six.lnum' + include : FlipAround (MIDDLE) (CAP / 2) + save 'nine.lnum.turnedSix' + + sketch + include MarkSet.p + include : refer-glyph 'six.onum' + include : FlipAround (MIDDLE) (XH / 2) + save 'nine.onum.turnedSix' + + select-variant 'nine.lnum' '9' (follow -- 'nine') + select-variant 'nine.onum' (follow -- 'nine') + sketch # ten include MarkSet.capital diff --git a/variants.toml b/variants.toml index 04be1e773..f0779a05b 100644 --- a/variants.toml +++ b/variants.toml @@ -423,6 +423,18 @@ sampler = '7' description = '`7` with initial serif' seven = "serifed" +[simple.v-nine-closed-contour] +tag = "cv96" +sampler = '9' +description = '`9` with a more closed' +nine = "closedContour" + +[simple.v-nine-turned-six] +tag = "cv97" +sampler = '9' +description = 'More curly letter `λ`, like Iosevka 2.x' +nine = "turnedSix" + [simple.v-tilde-high] tag = 'cv16' sampler = '~' @@ -654,7 +666,8 @@ design = [ 'v-capital-r-straight', 'v-u-with-bar', 'v-capital-g-tooth', - 'v-lambda-straight' + 'v-lambda-straight', + 'v-nine-closed-contour' ] upright = [ 'v-a-doublestorey',