summaryrefslogtreecommitdiff
path: root/scripts/lib/fontbuild/Build.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/fontbuild/Build.py')
-rw-r--r--scripts/lib/fontbuild/Build.py8
1 files changed, 4 insertions, 4 deletions
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: