#!/bin/sh
#
# xgentype1dir : type1inst wrapper script for RedHat Linux systems.  If you
# put your Type 1 fonts in the standard directory (given by 
# $TOPXDIR/lib/fonts/Type1) and run this script, that should set them up
# correctly.  Note that you still need to restart the X server for the fonts
# to become visible.
#
# This script was contributed by Elliot Lee <sopwith@dilbert.redhat.com>.
#
TOPXDIR=/usr/X11R6
[ ! -z "$1" ] && TOPXDIR=/usr/X11R6/lib
cd $TOPXDIR/lib/X11/fonts/Type1
rm -f fonts.scale
/usr/bin/type1inst -nogs -quiet -nolog
$TOPXDIR/bin/mkfontdir $TOPXDIR/lib/X11/fonts/Type1