lib/Tools/installfonts
author wenzelm
Mon, 09 Dec 1996 16:48:30 +0100
changeset 2351 873ffd6f70c3
parent 2335 e965156e84e3
child 2578 cc768a16ef65
permissions -rwxr-xr-x
Contents - list of available documentation;

#!/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