Article 127627 of comp.os.vms:
Newsgroups: comp.os.vms
Path: nntpd.lkg.dec.com!pa.dec.com!decuac.dec.com!haven.umd.edu!ames!lll-winken.llnl.gov!fnnews.fnal.gov!unixhub!sldb6.slac.stanford.edu!fairfield
From: fairfield@sldb6.slac.stanford.edu
Subject: Re: Fonts for DECWindows
Message-ID: <1995Aug21.153212.1@sldb6.slac.stanford.edu>
Lines: 50
Sender: news@unixhub.SLAC.Stanford.EDU
Organization: Stanford Linear Accelerator Center
References: <411alj$972@wmwap1.math.Uni-Wuppertal.DE>
Date: Mon, 21 Aug 1995 23:32:12 GMT

In article <411alj$972@wmwap1.math.Uni-Wuppertal.DE>, 
    		HETFELD@WEEEV3.UNI-WUPPERTAL.DE (Andreas Hetfeld) writes:
> Hi folks,
> 
> for a X application on a remote unix system I have to install special fonts on
> our DECStation running OpenVMS 5.5-2 and DECWindows 1.1. These special fonts
> are called the 'omni-fonts' and come in a tar-file for unix-systems. The fonts
> have got the extension *.pcf and *.bdf and there is a Makefile for building
> the openwindows, PCF and SNF font binaries.
> 
> As a first step I copied the *.pcf font-files and a file called fonts.dir to
> our DECStation, renamed fonts.dir to decw$directory.dat and added the fonts in
> the font-table by running xset:
> 
>    xset fp+ my_dev:[my_font_dir]
>    xset fp rehash
> 
> The output of xlsfonts showed the new fonts and I tried to start the X
> application on the remote host via the rsh-command. But xlib couldn't find the
> font-file for the new fonts!
> 
> What's wrong or how can I install the new fonts correctly?

        The fonts need  to  be  compiled  into  a  form suitable for the
    VAXstation, and the *.PCF files are not.

        Briefly, the proper procedure is to copy the *.BDF files to some
    working directory.  Next use the  FONT/OUT command against each .BDF
    file.  This will produce a .DECW$FONT file for each .BDF input file.
    (Write  a  command  file that lists each .BDF file  and  issues  the
    FONT/OUT command for each one.) Copy all  the  .DECW$FONT  files  to
    your  private  font  directory  (unless you're a privileged user and
    want to make these  fonts  generally  available;  in that case, copy
    them  to one of the subdirectories under SYS$COMMON:[SYSFONT.DECW].)
    Finally, run SYS$SYSTEM:DECW$MKFONTDIR for the target directory:

        $ MKFONTDIR == "$DECW$MKFONTDIR"
        $ MKFONTDIR MY_DEV:[MY_FONT_DIR]

    At that point, your xset commands  ought to work (although I haven't
    used  xset  this way...I've always just put the new fonts in one  of
    the directories already accessed by the DECwindows server).

        -Ken
-- 
 Kenneth H. Fairfield       |  Internet: Fairfield@Slac.Stanford.Edu
 SLAC, P.O.Box 4349, MS 46  |  DECnet:   45537::FAIRFIELD (45537=SLACVX)
 Stanford, CA   94309       |  Voice:    415-926-2924    FAX: 415-926-3515
 -------------------------------------------------------------------------
 These opinions are mine, not SLAC's, Stanford's, nor the DOE's...


