diff svgmods.sh @ 32:c4719d1b7633

svg mods
author tzara <rc-web@kiben.net>
date Sun, 19 Aug 2012 21:44:23 +0000
parents e4d2a8eb1450
children 9bf133b91890
line wrap: on
line diff
--- a/svgmods.sh	Thu Aug 16 07:17:03 2012 +0000
+++ b/svgmods.sh	Sun Aug 19 21:44:23 2012 +0000
@@ -10,7 +10,7 @@
 for i in `ls $path/*.svg`;
 do
     # change size - commented out - size can be defined in html
-    sed -i 's/  width="100.00mm" height="40.00mm" viewBox="0 0 103.4646 41.3858"/ width="1000px" height="400px" viewBox="0 0 1000 400"/'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 ;