- leichter Umbau der Shellskripte. Extrakt des Fonts getrennt von test des Fonts

This commit is contained in:
Michael Stangl
2012-07-25 19:38:55 +02:00
parent 9340a28d0a
commit 8f091245f1
60 changed files with 1763 additions and 6395 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/bin/bash
. setenv.sh
if [ -z "$1" ]; then
echo "please give a directory in the templates folder with .svg glyphs as input"
exit 1
fi
if [ -d "$PICCREATE_IN/$1" ]; then
export SOURCE="$PICCREATE_IN/$1"
elif [ ! -d "$1" ]; then
export SOURCE="$1"
else
echo "directory does not exist"
echo "please give a directory with .svg files as input"
exit 1
fi
export TARGET=$PICCREATE_OUT
for i in `ls $SOURCE/*.svg`
do
echo `basename $i .svg`
$PICCREATE_BIN/extract-glyph.sh -i $i
done