- erste Fassung der Koordinatenextraktion

This commit is contained in:
Michael Stangl
2012-07-24 19:12:09 +02:00
parent d93310f109
commit be0daae310
43 changed files with 7272 additions and 0 deletions
Executable
+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_TEMPLATES/$1" ]; then
export SOURCE="$PICCREATE_TEMPLATES/$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
done