/usr/share/inventor/fonts/link-fonts.sh is in libinventor1 2.1.5-10-18+b2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #! /bin/sh -e
fontpath=/usr/share/inventor/fonts
type1=/usr/share/fonts/X11/Type1
mkdir -p $fontpath
cd $fontpath
ln -s -f $type1/c0419bt_.pfb Courier-Regular
ln -s -f $type1/c0582bt_.pfb Courier-Italic
ln -s -f $type1/c0583bt_.pfb Courier-Bold
ln -s -f $type1/c0611bt_.pfb Courier-BoldItalic
ln -s -f $type1/c059013l.pfb Century-Schoolbook-Roman
ln -s -f $type1/c059016l.pfb Century-Schoolbook-Bold
ln -s -f $type1/c059033l.pfb Century-Schoolbook-Italic
ln -s -f $type1/c059036l.pfb Century-Schoolbook-BoldItalic
for i in $type1/*.pfa; do
test -f $i || continue
out=.`egrep ^/FontName $i | cut -d' ' -f2`
#echo "Linking $i to $out"
if [ ! -e $out ]; then
ln -s -f $i $out
fi
done
# make sure the fallback font is available
if [ ! -e Utopia-Regular ]; then
ln -s -f Century-Schoolbook-Roman Utopia-Regular
fi
|