Images/genicons.sh
author laurent
Thu, 22 Sep 2011 15:33:31 +0200
changeset 563 3f92a5e18804
parent 184 d3e6484ebe85
permissions -rw-r--r--
- Fixing editing graphic element (handles, rubberband and highlight) in graphic editor in order to make them keep the same size whatever the zoom factor applied to graphic editor
- Replace default pen by a pen with miter join property to draw graphic elements without round corner in high zoom factor
- Reduce the default size of fonts in graphic editor
#!/bin/bash

INKSCAPE=/cygdrive/c/Program\ Files/Inkscape/inkscape.exe

for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'` 
do
 echo "$INKSCAPE" `cygpath -w \`pwd\`/icons.svg` -z -e `cygpath -w \`pwd\`/$i.png` -i $i
 rm  -f $i.png
 "$INKSCAPE" `cygpath -w \`pwd\`/icons.svg` -z -e `cygpath -w \`pwd\`/$i.png` -i $i
done