mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-08-23 14:12:56 +02:00
fix outline script
This commit is contained in:
@@ -23,6 +23,6 @@ for file in files("./icons-outlined"):
|
|||||||
glyph.correctDirection()
|
glyph.correctDirection()
|
||||||
glyph.export("./icons-outlined/" + file)
|
glyph.export("./icons-outlined/" + file)
|
||||||
glyph.clear()
|
glyph.clear()
|
||||||
|
|
||||||
|
|
||||||
print ("Finished fixing svg outline directions!")
|
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
|
// 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) {
|
generate.on("close", function (code) {
|
||||||
console.log(`Correcting svg outline directions exited with code ${code}`);
|
console.log(`Correcting svg outline directions exited with code ${code}`);
|
||||||
if (!code) {
|
if (!code) {
|
||||||
|
Reference in New Issue
Block a user