1deb81
#!/bin/sh
1deb81
# 
1deb81
# Batik SVG Font Converter script
1deb81
# JPackage Project <http://www.jpackage.org/>
1deb81
1deb81
# Source functions library
1deb81
if [ -f /usr/share/java-utils/java-functions ] ; then 
1deb81
  . /usr/share/java-utils/java-functions
1deb81
else
1deb81
  echo "Can't find functions library, aborting"
1deb81
  exit 1
1deb81
fi
1deb81
1deb81
# Source user prefs
1deb81
if [ -f /etc/ttf2svg.conf ] ; then 
1deb81
  . /etc/ttf2svg.conf
1deb81
fi
1deb81
1deb81
# Allow user-defined prefs
1deb81
if [ -f $HOME/.ttf2svgrc ] ; then 
1deb81
  . $HOME/.ttf2svgrc
1deb81
fi
1deb81
1deb81
# Configuration
1deb81
MAIN_CLASS=org.apache.batik.apps.ttf2svg.Main
1deb81
BASE_JARS="batik batik-ttf2svg"
1deb81
1deb81
# Set parameters
1deb81
set_jvm
1deb81
set_classpath $BASE_JARS
1deb81
set_flags $BASE_FLAGS
1deb81
set_options $BASE_OPTIONS
1deb81
1deb81
# Let's start
1deb81
run "$@"