Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* install X fonts on Alpha running OpenVMS, how ?
@ 1994-05-08 16:40 jg_sun
  1994-05-09  2:26 ` fairfield
  1994-05-10 18:08 ` Fred Kleinsorge
  0 siblings, 2 replies; 4+ messages in thread
From: jg_sun @ 1994-05-08 16:40 UTC (permalink / raw)




hi all,

I have bounch of bdf files, and like to install them on a 
VMS machines. There are 3 questions:

1.  Does X server on OpenVMS recognize bdf and pcf files?  
    I saw all those fnt files in sys$library, which are 
    supposed to be font file, but what are the ?

2.  If the X server does use pcf files, in which directory 
    are they living? I can find anything like that anywhere.


3. If the X server does not like bdf or pcf files, is there a
   utility that can convert the files  to the format that the 
   X server can recognize ?


thanks.


j.g. 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: install X fonts on Alpha running OpenVMS, how ?
  1994-05-08 16:40 install X fonts on Alpha running OpenVMS, how ? jg_sun
@ 1994-05-09  2:26 ` fairfield
  1994-05-11  0:36   ` srlnrow
  1994-05-10 18:08 ` Fred Kleinsorge
  1 sibling, 1 reply; 4+ messages in thread
From: fairfield @ 1994-05-09  2:26 UTC (permalink / raw)


In article <JS9S.94May8124049@uvahev.phys.Virginia.EDU>,
    				js9s@uvahev.phys.Virginia.EDU (jg_sun) writes:

> I have bounch of bdf files, and like to install them on a
> VMS machines. There are 3 questions:
>
> 1.  Does X server on OpenVMS recognize bdf and pcf files?

        VMS supplies the FONT command which  will compile BDF fonts into
    "SNF" fonts (Server Natural Fonts). Do: $HELP FONT for details.

>     I saw all those fnt files in sys$library, which are
>     supposed to be font file, but what are the ?

        The .FNT files in  SYS$LIBRARY  have  nothing  to  do with the X
    server  (DECwindows/Motif).   I  don't happen to know  what  product
    requires them (probably GKS), but you can ignore them.

> 2.  If the X server does use pcf files, in which directory
>     are they living? I can find anything like that anywhere.

        All the DECwindows  fonts  live in SYS$COMMON:[SYSFONT.DECW...],
    and use a file type of .DECW$FONT.

> 3. If the X server does not like bdf or pcf files, is there a
>    utility that can convert the files  to the format that the
>    X server can recognize ?

        It does, see above.  Since  the  DECwindows fonts live in system
    directories,  you'll need the help of your system manager to get the
    new fonts added.  I don't recall all  the  details,  but  I  believe
    there  is  a  command  file that needs to be run to update the "font
    directory" (which is NOT a disk directory, but a flat file) with the
    newly added fonts.

        There is probably  a  way  to  make  fonts  available  from your
    personal  account/directories.  I don't happen to know how.  Posting
    to  comp.os.vms  and/or  comp.windows.x.motif  might  generate  more
    responses.

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: install X fonts on Alpha running OpenVMS, how ?
  1994-05-08 16:40 install X fonts on Alpha running OpenVMS, how ? jg_sun
  1994-05-09  2:26 ` fairfield
@ 1994-05-10 18:08 ` Fred Kleinsorge
  1 sibling, 0 replies; 4+ messages in thread
From: Fred Kleinsorge @ 1994-05-10 18:08 UTC (permalink / raw)



>I have bounch of bdf files, and like to install them on a 
>VMS machines. There are 3 questions:
>
>1.  Does X server on OpenVMS recognize bdf and pcf files?  
>    I saw all those fnt files in sys$library, which are 
>    supposed to be font file, but what are the ?
>
  OpenVMS VAX supports it's own server natural format.

  OpenVMS AXP supports BDF, PCF, SNF (all the standard
  font formats supported by the MIT X11R5 sample server).


>2.  If the X server does use pcf files, in which directory 
>    are they living? I can find anything like that anywhere.
>
   A logical name DECW$FONT will give you the font path.  The
   path is a search list for the directories in SYS$COMMON:
   [SYSFONT.DECW...]

>
>3. If the X server does not like bdf or pcf files, is there a
>   utility that can convert the files  to the format that the 
>   X server can recognize ?
>
   The FONT command compiles BDF fonts into the natural format
   for the server.  The VAX generates DECW$FONT files, the AXP
   generates .PCF files.  The command is simply:

	$ FONT fontfile.bdf

   The directories in [SYSFONT.DECW...] labeled USER_* are
   there for your use, the other directories may get clobbered
   during a upgrade.

   Place all the font files, converted to the server natural
   format, into one of these areas, set your default to that
   subdirectory and type:

	$ FONT/DIR

   This will generate a font directory .DAT file that the server
   uses to find it's fonts.

   Reboot, or restart the server (from the SYSTEM account, type

	$ @DECW$STARTUP RESTART

   to pick up the new fonts.

   So, if you had font "foo.bdf" in your default directory, the
   actions would be (for an AXP):

	$ FONT foo.bdf
	$ COPY foo.pcf sys$common:[sysfont.decw.user_common]
        $ SET DEF sys$common:[sysfont.decw.user_common]
	$ FONT/DIR
	$ TYPE/PA DECW$FONT_DIRECTORY*.DAT
        $ @SYS$MANAGER:DECW$STARTUP RESTART

   The only change for the VAX would be the font name would be
   foo.decw$font instead of .pcf

   
-- 
                              +--------------------------------------+
Fred Kleinsorge               | All opinions expressed are mine, and |
kleinsorge@star.enet.dec.com  | may not reflect those of my employer |
                              +--------------------------------------+


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: install X fonts on Alpha running OpenVMS, how ?
  1994-05-09  2:26 ` fairfield
@ 1994-05-11  0:36   ` srlnrow
  0 siblings, 0 replies; 4+ messages in thread
From: srlnrow @ 1994-05-11  0:36 UTC (permalink / raw)


In Article <1994May8.182607.1@slacvx.slac.stanford.edu>
fairfield@slacvx.slac.stanford.edu writes:
>    ......  you'll need the help of your system manager to get the
>    new fonts added.  I don't recall all  the  details,  but  I  believe
>    there  is  a  command  file that needs to be run to update the "font
>    directory" (which is NOT a disk directory, but a flat file) with the
>    newly added fonts.

The procedure is SYS$UPDATE:DECW$MKFONTDIR.COM

______  Roger Williams, Institute of Geological & Nuclear Sciences  ______
_________  srlnrow@lhn.gns.cri.nz  :  Vax 3600 - VAX/VMS v5.3  ___________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-05-11  0:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-08 16:40 install X fonts on Alpha running OpenVMS, how ? jg_sun
1994-05-09  2:26 ` fairfield
1994-05-11  0:36   ` srlnrow
1994-05-10 18:08 ` Fred Kleinsorge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox