diff --git a/strokefont.py b/strokefont.py index 4b257d6..49494e8 100644 --- a/strokefont.py +++ b/strokefont.py @@ -22,6 +22,10 @@ class Stroker(object): f.fullname = self.fullname f.private['StdHW'] = self.nibheight f.private['StdVW'] = self.nibwidth + def adjustblue(y): return y - 100 + self.nibheight + bv = list(f.private['BlueValues']) + bv[1:] = map(adjustblue, bv[1:]) + f.private['BlueValues'] = tuple(bv) f.uwidth = self.nibheight f.os2_weight = self.ttfweight f.weight = self.weight