From f438f9ad7e5d9dce5dea7a16a9b5fd46f0268b7d Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 6 Mar 2018 21:39:47 +0000 Subject: [PATCH] strokefont: Slightly clean up chiseltip invocation --- strokefont.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/strokefont.py b/strokefont.py index 1078a96..346ed1b 100644 --- a/strokefont.py +++ b/strokefont.py @@ -57,7 +57,7 @@ class Chiseltip(Stroker): fullname = "Bedstead Chiseltip" weight = "Medium" ttfweight = 500 - def __init__(self, fontname): + def __init__(self): chisel = fontforge.contour() chisel.moveTo(-56, 7) chisel.lineTo(39, 41) @@ -67,14 +67,14 @@ class Chiseltip(Stroker): self.nib = ['polygonal', chisel] self.nibwidth = 112 self.nibheight = 82 - super(Chiseltip, self).__init__(fontname) + super(Chiseltip, self).__init__("BedsteadChiseltip") modes = { 'plotter-thin': Plotter(10, "Thin", 100), 'plotter-light': Plotter(50, "Light", 300), 'plotter-medium': Plotter(100, "Medium", 500), 'plotter-bold': Plotter(150, "Bold", 700), - 'chiseltip': Chiseltip("BedsteadChiseltip"), + 'chiseltip': Chiseltip(), } mode = modes[argv[1]] -- 2.30.2