mkfontdir under DECwindows

Christine King x4426 bcking at io.UUCP
Wed Aug 16 07:19:01 AEST 1989


If you have your FOO.BDF file, you do this:

    $ FONTCOMPILER /OUT=FOO.DECW$FONT FOO.BDF

Then you copy the resulting FOO.DECW$FONT file into the default DECW
font directory hierarchy.  For us that's SYS$COMMON:[SYSFONT.DECW.*],
where "*" is probably "75DPI".

The font doesn't actually become known to DECWindows until the next
time an XSetFontPath() is done, probably at boot time.

If you don't want to use the System font library, you can put your
font wherever is convenient for you.  Then your application has to do
its own XSetFontPath(), probably concatenating your directory onto the
default DECW$FONT:.  Warning: It can take a good 30 seconds for X to
recache the font names when you do that!



-- 
MONIKER:	Christine King
UUCP:		...{mit-eddie,ihnp4!harvard!bbn,sun!sunne}!ileaf!bcking
PHONE:		(617) 577-9800
USMAIL:		Interleaf Inc, Ten Canal Park, Cambridge MA 02141



More information about the Comp.unix.ultrix mailing list