1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-08-22 21:53:17 +02:00

fix outline script

This commit is contained in:
codecalm
2021-01-20 23:16:00 +01:00
parent f33b59eaad
commit 612f6b4c6b
2 changed files with 2 additions and 2 deletions

View File

@@ -23,6 +23,6 @@ for file in files("./icons-outlined"):
glyph.correctDirection()
glyph.export("./icons-outlined/" + file)
glyph.clear()
print ("Finished fixing svg outline directions!")

View File

@@ -231,7 +231,7 @@ gulp.task('iconfont-svg-outline', function (cb) {
});
// correct svg outline directions in a child process using fontforge
const generate = cp.spawn("fontforge", ["-lang=py", "-script", ".build/generate.py"], { stdio: 'inherit' });
const generate = cp.spawn("fontforge", ["-lang=py", "-script", "./fix-outline.py"], { stdio: 'inherit' });
generate.on("close", function (code) {
console.log(`Correcting svg outline directions exited with code ${code}`);
if (!code) {