From 7d38014a38dae2303960adac770cd1399f7af032 Mon Sep 17 00:00:00 2001 From: James Godfrey-Kittle Date: Tue, 24 Nov 2015 15:03:18 -0800 Subject: Another update to curve conversion calls cu2qu is a new library without a currently well-defined API, so these calls have changed and will probably change again. --- scripts/lib/fontbuild/Build.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/lib/fontbuild') diff --git a/scripts/lib/fontbuild/Build.py b/scripts/lib/fontbuild/Build.py index 5bb0ed6..be0b79c 100644 --- a/scripts/lib/fontbuild/Build.py +++ b/scripts/lib/fontbuild/Build.py @@ -180,14 +180,14 @@ class FontProject: self.generatedFonts = [] log(">> Converting curves to quadratic") - # using a slightly higher max error (e.g. 0.0025), dots will have fewer - # control points and look noticeably different + # using a slightly higher max error (e.g. 0.0025 em), dots will have + # fewer control points and look noticeably different max_err = 0.002 if self.compatible: - fonts_to_quadratic(*fonts, max_err=max_err, dump_report=True) + fonts_to_quadratic(*fonts, max_err_em=max_err, dump_report=True) else: for font in fonts: - fonts_to_quadratic(font, max_err=max_err, dump_report=True) + fonts_to_quadratic(font, max_err_em=max_err, dump_report=True) log(">> Generating TTF files") for font in fonts: -- cgit v1.2.3