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:
@@ -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!")
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user