From a0feec7f38f63d3902430947c719842bef307c5a Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Fri, 18 Aug 2017 22:46:41 +0100 Subject: [PATCH] Improve nib shape for Bedstead Chiseltip. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It's now an integer approximation to the original 20° 100×50 rectangle that I first used. --- strokefont.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/strokefont.py b/strokefont.py index 477fb74..4b257d6 100644 --- a/strokefont.py +++ b/strokefont.py @@ -45,14 +45,14 @@ class Chiseltip(Stroker): ttfweight = 500 def __init__(self, fontname): chisel = fontforge.contour() - chisel.moveTo(-50, 0) - chisel.lineTo(28, 45) - chisel.lineTo(50, 0) - chisel.lineTo(-28, -45) + chisel.moveTo(-56, 7) + chisel.lineTo(39, 41) + chisel.lineTo(56, -7) + chisel.lineTo(-39, -41) chisel.closed = True self.nib = ['polygonal', chisel] - self.nibwidth = 100 - self.nibheight = 90 + self.nibwidth = 112 + self.nibheight = 82 super(Chiseltip, self).__init__(fontname) modes = { -- 2.30.2