# HG changeset patch # User robcast # Date 1336068862 -7200 # Node ID fdeb78a3727c4f7f32e1923a184df3961a14f21a # Parent 085476696e395e5d2715aa27b480698431a0655d first version of slightly improved icons and generation script for unix. diff -r 085476696e39 -r fdeb78a3727c webapp/src/main/webapp/jquery/img/fullscreen2.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/src/main/webapp/jquery/img/fullscreen2.svg Thu May 03 20:14:22 2012 +0200 @@ -0,0 +1,1205 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 085476696e39 -r fdeb78a3727c webapp/src/main/webapp/jquery/img/fullscreen_icons.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/src/main/webapp/jquery/img/fullscreen_icons.sh Thu May 03 20:14:22 2012 +0200 @@ -0,0 +1,27 @@ +#!/bin/bash +# +# script for creating PNG icons from icon SVG file + +SVGFILE="fullscreen2.svg" +XSLTFILE="fullscreen_icons.xsl" +SVGDIR="fullscreen/svg" +# PNG directory relative to SVGDIR +PNGDIR="32" + +# run XSLT to create separate SVG files (in fullscreen/svg) +SAXON="java -jar /Volumes/Schlachteplatte/stuff/java/lib/saxonb9-1-0-7j/saxon9.jar" +echo "running Saxon to create separate SVGs" +mkdir -p $SVGDIR +$SAXON $SVGFILE $XSLTFILE + +# create PNGs from separate SVGs using inkscape +INKSCAPE=" /Volumes/Schlachteplatte/Applications/Inkscape.app/Contents/Resources/bin/inkscape" +echo "running Inkscape to create PNGs" +cd $SVGDIR +mkdir -p $PNGDIR +ls *.svg | while read fx +do + f=`basename "$fx" svg` + $INKSCAPE --file="$fx" --export-area-drawing --export-width=32 --export-png="$PNGDIR/${f}png" +done +echo "done." diff -r 085476696e39 -r fdeb78a3727c webapp/src/main/webapp/jquery/img/fullscreen_icons.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/src/main/webapp/jquery/img/fullscreen_icons.xsl Thu May 03 20:14:22 2012 +0200 @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + display:inline + + + + + + + + +