From: Ben Harris Date: Fri, 18 Aug 2017 21:46:41 +0000 (+0100) Subject: Improve nib shape for Bedstead Chiseltip. X-Git-Tag: bedstead-002.000~63 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=a0feec7f38f63d3902430947c719842bef307c5a;p=bedstead.git Improve nib shape for Bedstead Chiseltip. It's now an integer approximation to the original 20° 100×50 rectangle that I first used. --- 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 = {