#!/bin/sh
if [ $# -lt 2 ] ; then
    echo "Sun(R) JDK PostScript Fixer"
    echo "Copyright (c)2000 TogetherSoft Corporation. Patents pending. All rights reserved"
    echo
    echo "Usage: $0 infile.ps outfile.ps"
    echo
    exit 1
fi

echo "Patching $1, output to $2"

sed \
"s/x y translate xrad yrad scale -90 rotate/\
x y translate xrad yrad scale 0 height translate/g" \
$1 >$2
