From b2aa9276835115998b119e2495b4302b7f3f7a00 Mon Sep 17 00:00:00 2001 From: Paolo Bolzoni Date: Thu, 14 May 2020 00:31:41 +0900 Subject: [PATCH 1/3] Add a sans-serif j variant --- glyphs/letters-unified-basic.ptl | 8 ++++++++ variants.toml | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/glyphs/letters-unified-basic.ptl b/glyphs/letters-unified-basic.ptl index 80464f2764..01fa25497e 100644 --- a/glyphs/letters-unified-basic.ptl +++ b/glyphs/letters-unified-basic.ptl @@ -280,6 +280,14 @@ glyph-block LetterUnified-Basic : begin include : VBar MIDDLE DESCENDER XH save 'dotlessj.line' + sketch # dotlessj.sansserif + include MarkSet.p + include [refer-glyph 'dotlessj.straight'] AS_BASE + + set-anchor 'above' BASE (MIDDLE + JBALANCE - STROKE * 0.166 * HVCONTRAST) XH + set-anchor 'overlay' BASE (MIDDLE + JBALANCE - STROKE * 0.166 * HVCONTRAST) (XH / 2) + save 'dotlessj.sansserif' + sketch # dotlessj.serifed include MarkSet.p include [refer-glyph 'dotlessj.straight'] AS_BASE diff --git a/variants.toml b/variants.toml index a759ae2ce6..48a9185eb4 100644 --- a/variants.toml +++ b/variants.toml @@ -159,6 +159,12 @@ sampler = 'j' description = '`j` with top serif' dotlessj = "serifed" +[simple.v-j-sansserif] +tag = "cv98" +sampler = 'j' +description = '`j` without serif' +dotlessj = "sansserif" + [simple.v-l-hooky] tag = 'cv09' sampler = 'l' From 0c2594eccebea43622b3e7301c50987160a052cb Mon Sep 17 00:00:00 2001 From: Paolo Bolzoni Date: Thu, 14 May 2020 11:04:02 +0900 Subject: [PATCH 2/3] Undo previous commit --- glyphs/letters-unified-basic.ptl | 8 -------- variants.toml | 6 ------ 2 files changed, 14 deletions(-) diff --git a/glyphs/letters-unified-basic.ptl b/glyphs/letters-unified-basic.ptl index 01fa25497e..80464f2764 100644 --- a/glyphs/letters-unified-basic.ptl +++ b/glyphs/letters-unified-basic.ptl @@ -280,14 +280,6 @@ glyph-block LetterUnified-Basic : begin include : VBar MIDDLE DESCENDER XH save 'dotlessj.line' - sketch # dotlessj.sansserif - include MarkSet.p - include [refer-glyph 'dotlessj.straight'] AS_BASE - - set-anchor 'above' BASE (MIDDLE + JBALANCE - STROKE * 0.166 * HVCONTRAST) XH - set-anchor 'overlay' BASE (MIDDLE + JBALANCE - STROKE * 0.166 * HVCONTRAST) (XH / 2) - save 'dotlessj.sansserif' - sketch # dotlessj.serifed include MarkSet.p include [refer-glyph 'dotlessj.straight'] AS_BASE diff --git a/variants.toml b/variants.toml index 48a9185eb4..a759ae2ce6 100644 --- a/variants.toml +++ b/variants.toml @@ -159,12 +159,6 @@ sampler = 'j' description = '`j` with top serif' dotlessj = "serifed" -[simple.v-j-sansserif] -tag = "cv98" -sampler = 'j' -description = '`j` without serif' -dotlessj = "sansserif" - [simple.v-l-hooky] tag = 'cv09' sampler = 'l' From 05aff383de478ef9bae2f927c3cff3a94674df6c Mon Sep 17 00:00:00 2001 From: Paolo Bolzoni Date: Thu, 14 May 2020 11:04:52 +0900 Subject: [PATCH 3/3] Properly add a san-serif j variant --- variants.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/variants.toml b/variants.toml index a759ae2ce6..cbbe03aff9 100644 --- a/variants.toml +++ b/variants.toml @@ -159,6 +159,12 @@ sampler = 'j' description = '`j` with top serif' dotlessj = "serifed" +[simple.v-j-straight] +tag = "cv98" +sampler = 'j' +description = '`j` without serif' +dotlessj = "straight" + [simple.v-l-hooky] tag = 'cv09' sampler = 'l'