From 20065a9a0a80f31552ee14406a90a6519a750f27 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Fri, 7 Sep 2018 08:33:14 -0700 Subject: [PATCH] use Skia's pathops instead of the impressively slow booleanOperations, speeding up builds by a large factor --- misc/fontbuild | 3 ++- requirements.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/misc/fontbuild b/misc/fontbuild index 337c28a5b..390f30f19 100755 --- a/misc/fontbuild +++ b/misc/fontbuild @@ -216,7 +216,8 @@ class Main(object): [args.ufo], output_dir=self.tmpdir, output=formats, - subroutinize=True + subroutinize=True, + overlaps_backend='pathops', # use Skia's pathops ) # run through ots-sanitize diff --git a/requirements.txt b/requirements.txt index d07b311e4..18f045c2f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ +skia-pathops==0.2.0.post2 + git+https://github.com/googlei18n/fontmake.git@db2f52a728493751a3d0446a3e281260ec9d96ff # for fontTools/varLib/interpolatable.py