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