|
|
| File: [Development] / inventor / libFL / src / linkType1.sh (download)
Revision 1.1, Tue Oct 3 01:08:12 2000 UTC (17 years ago) by jlim
Fixed endian problems in libFL for Linux i386 (Bug 5). Added script to create symbolic links for Type1 font files. |
#! /bin/sh -e
dps=/usr/lib/DPS/outline/base
type1=/usr/lib/X11/fonts/Type1
if [ ! -d $dps ]; then
echo -n "$dps does not exist; create? "
read reply
if [ $reply = "y" ]; then
mkdir -p $dps
else
exit
fi
fi
for i in $type1/*.pfa; do
out=$dps`egrep ^/FontName $i | cut -d' ' -f2`
if [ ! -e $out ]; then
ln -s $i $out
fi
done