aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js
index d461eecd..da9d0df8 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -230,7 +230,14 @@ gulp.task('iconfont-svg-outline', function (cb) {
}).catch(error => console.log(error));
});
- cb();
+ // correct svg outline directions in a child process using fontforge
+ const generate = cp.spawn("fontforge", ["-lang=py", "-script", "generate.py"], { stdio: 'inherit' });
+ generate.on("close", function (code) {
+ console.log(`Correcting svg outline directions exited with code ${code}`);
+ if (!code) {
+ cb();
+ }
+ });
});
});