Mercurial > hg > nodescore
diff svgmods.sh @ 33:5088859ace72
Merge branch 'master' of git://gitorious.org/nodescore/nodescore
Conflicts:
nodescore
www/m/thumbs/1.png
www/m/thumbs/2.png
www/m/thumbs/3.png
www/m/thumbs/4.png
www/m/thumbs/5.png
www/m/thumbs/6.png
author | tzara <rc-web@kiben.net> |
---|---|
date | Sun, 19 Aug 2012 22:59:48 +0100 |
parents | c4719d1b7633 |
children | 9bf133b91890 |
line wrap: on
line diff
--- a/svgmods.sh Sun Aug 19 22:58:36 2012 +0100 +++ b/svgmods.sh Sun Aug 19 22:59:48 2012 +0100 @@ -5,10 +5,12 @@ path="www/m/svg" header='<?xml-stylesheet type="text/css" href="svg-stylesheet.css" ?> ' + + for i in `ls $path/*.svg`; do # change size - commented out - size can be defined in html - sed -i 's/ width="105.00mm" height="60.00mm" viewBox="0 0 108.6378 62.0787"/ width="1280px" height="800px" viewBox="0 0 1280 800"/'g $i + sed -i 's/ width="100.00mm" height="45.00mm" viewBox="0 0 63.2283 28.4528"/ width="1000px" height="450px" viewBox="0 0 1000 450"/'g $i #sed -i 's/ width="105.00mm" height="60.00mm" / width="1280px" height="800px" /'g $i echo $header > tmp.svg; cat $i >> tmp.svg ;