# HG changeset patch # User robcast # Date 1336068862 -7200 # Node ID d296bfc879495ad05d5d930c4fa1a08728cd1a94 # Parent b0a18f8af7bfd0a070050fd3730b10423b0c8b0f first version of slightly improved icons and generation script for unix. diff -r b0a18f8af7bf -r d296bfc87949 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 b0a18f8af7bf -r d296bfc87949 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 b0a18f8af7bf -r d296bfc87949 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 + + + + + + + + +