From e68f36dca4b7c79e417602aa149a32c321e1404b Mon Sep 17 00:00:00 2001 From: be5invis Date: Fri, 11 Dec 2015 07:39:11 +0800 Subject: [PATCH] fixed the nudge in /srtail, /sswash and /Sswash. --- buildglyphs.patel | 2 +- glyphs/letters-unified-basic.patel | 14 +++++++------- parameters.toml | 8 ++++++++ 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/buildglyphs.patel b/buildglyphs.patel index 031a9ab..685c4d2 100644 --- a/buildglyphs.patel +++ b/buildglyphs.patel @@ -231,7 +231,7 @@ export as build : define [buildFont para recursive recursiveCodes] : begin define MVERTSTROKE : adviceBlackness : fallback para.lllcrowdedness (3 + 1 / 3) define OVERLAYSTROKE : adviceBlackness 3.75 define OPERATORSTROKE : adviceBlackness 3.2 - define SHOULDERFINE : [adviceBlackness 4.5] / 2 + define SHOULDERFINE : adviceBlackness 10 define SUPERNESS : fallback para.superness 2 define [superxy x] : Math.pow (1 - [Math.pow x SUPERNESS]) (1 / SUPERNESS) diff --git a/glyphs/letters-unified-basic.patel b/glyphs/letters-unified-basic.patel index c194737..f2cac52 100644 --- a/glyphs/letters-unified-basic.patel +++ b/glyphs/letters-unified-basic.patel @@ -1351,7 +1351,7 @@ symbol-block 'r' local mixpin : 0.65 + globalTransform.yx * [linreg 72 0.1 108 0.5 STROKE] local rmiddle : mix (rbar - fine) rhookx mixp local rmiddlein : [mix rbar (rhookx - STROKE * CORRECTION_HX * 1.05) mixpin] - CORRECTION_OMIDS - local skew : (rmiddle - rmiddlein) / STROKE - globalTransform.yx * [linreg 72 0.25 108 0.75 STROKE] + local skew : Math.max 0 : (rmiddle - rmiddlein) / STROKE - globalTransform.yx * [linreg 72 0.25 108 0.75 STROKE] include : dispiro widths.lhs g4 rhookx (XH - RHOOK) [heading {.y (-0.45) .x (-1.04 - globalTransform.yx)}] @@ -2725,11 +2725,11 @@ symbol-block 'S' assign-unicode 0x282 include glyphs.rtailBR apply-transform : Upright - apply-transform : Translate (SB + STROKE * CORRECTION_HX) 0 + apply-transform : Translate (SB + STROKE * CORRECTION_HX + OXHOOK) 0 apply-transform : Italify include pMarks include glyphs.s - include : VBarLeft SB 0 SHOOK + include : VBarLeft (SB + OXHOOK) 0 SHOOK create-glyph 'Sswash' : glyph-construction assign-unicode 0x2C7E @@ -2737,8 +2737,8 @@ symbol-block 'S' include glyphs.S include : dispiro widths.lhs [adviceBlackness 4.5] - g4 (SB - OXHOOK) HOOK - alsothru 0.3 0.6 important + g4 (SB + OXHOOK) HOOK + alsothru 0.15 0.6 important flat (RIGHTSB - 1) DESCENDER [widths STROKE 0] curl RIGHTSB DESCENDER @@ -2748,8 +2748,8 @@ symbol-block 'S' include glyphs.s include : dispiro widths.lhs [adviceBlackness 4.5] - g4 (SB - OXHOOK) SHOOK - alsothru 0.3 0.6 important + g4 (SB + OXHOOK) SHOOK + alsothru 0.2 0.6 important flat (RIGHTSB - 1) DESCENDER [widths STROKE 0] curl RIGHTSB DESCENDER diff --git a/parameters.toml b/parameters.toml index fea2972..bd1b660 100644 --- a/parameters.toml +++ b/parameters.toml @@ -78,6 +78,14 @@ overshootx = -16 family = "IosevkaCC Slab" # Weights +[w-air] +weight = 100 +stroke = 10 +sb = 80 +dotsize = 80 +periodsize = 88 +essx = 1.12 + [w-book] isBold = false weight = 400