#!/bin/csh -f # # NMRPipe System Font script, Tue Nov 20 09:47:52 CET 2012. # If this script does not work for your system, try # interchanging the font definitions from gz to bdf if ($?NMRFONTSET) then exit 0 endif if (!(-d $VO_ENMR_EU_SW_DIR/BCBR/nmrPipe/XView/fonts/gz)) then exit 0 endif if ($?DISPLAY) then set fontInfo = (`xset -q | fgrep XView/fonts | wc`) if ($fontInfo[1] == 0) then xset fp+ $VO_ENMR_EU_SW_DIR/BCBR/nmrPipe/XView/fonts/gz/75dpi/ xset fp+ $VO_ENMR_EU_SW_DIR/BCBR/nmrPipe/XView/fonts/gz/misc/ xset fp rehash # echo NMR Fonts: $VO_ENMR_EU_SW_DIR/BCBR/nmrPipe/XView/fonts/gz # else # echo NMR font path is already set. endif endif setenv NMRFONTSET TRUE