From 6d64076aebe0cc39d9db58ece96a34ec1956a56c Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 30 Dec 2021 15:05:18 +0100 Subject: [PATCH] optimize build and svg --- .create_svg.sh | 10 ------- Makefile | 3 +- chvoc.svg | 75 ++++++++++++++++++++++++++++++++++++++++---------- 3 files changed, 62 insertions(+), 26 deletions(-) delete mode 100755 .create_svg.sh diff --git a/.create_svg.sh b/.create_svg.sh deleted file mode 100755 index b5f2073..0000000 --- a/.create_svg.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -for i in *.svg -do - echo "Transform Image: $i" - inkscape \ - --actions="export-filename:$i.png; export-do;"\ - --export-dpi 300 \ - --export-background white \ - $i -done diff --git a/Makefile b/Makefile index 03e163d..ae29e15 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ #!/bin/bash all: - ./.create_svg.sh - + find . -type f -name '*.svg' -print0 | xargs -0 -n 1 -P 6 inkscape --actions="export-filename:$1.png; export-do;" --export-background white --export-dpi 96 $1 diff --git a/chvoc.svg b/chvoc.svg index 2f40794..556f120 100644 --- a/chvoc.svg +++ b/chvoc.svg @@ -1,15 +1,62 @@ - - - - - image/svg+xml - - - - - - - - - + + + + + + + + image/svg+xml + + + + + + + + +