lib/Tools/installfonts
author wenzelm
Thu, 23 Jan 1997 14:37:45 +0100
changeset 2547 7288532f5372
parent 2335 e965156e84e3
child 2578 cc768a16ef65
permissions -rwxr-xr-x
tuned;

#!/bin/bash -norc
#
# $Id$
#
# DESCRIPTION: install Isabelle symbol fonts


PRG=$(basename $0)

function usage()
{
  echo
  echo "Usage: $PRG"
  echo
  echo "  Install the Isabelle symbol fonts into your X11 server."
  echo "  (May be savely called repeatedly.)"
  echo
  exit 1
}


## main

[ $# -ne 0 ] && usage


RESULT=$(xlsfonts -fn "-isabelle-*" 2>&1) || exit 1

case "$RESULT" in
  xlsfonts:*)
    xset fp+ $ISABELLE_HOME/lib/fonts
    xset fp rehash
    ;;
esac