[comp.sys.hp] loading fonts with eroff

gls@corona.ATT.COM (Col. G. L. Sicherman) (04/06/91)

I've been trying to load a private LaserJet+ font with Eroff.  I've
reset EROFF_FONTDIR and compiled the spacing tables.  My source text
goes through /usr/bin/troff with no problems.  But elj complains that
my font name is illegal -- unless I name my font with one of the
"standard" names (G, GB, O, ...).

So I renamed it.  (We don't really have families of Garamond, Optima,
etc.)  Now elj obediently inserts the download file into its output.
But it then tries to select the font by specifying point size, slant,
boldness, and character set -- and the printer chooses Times Roman.
I can use my font only by editing the output of elj to select the
font explicitly, by number.

Is this intransigence wired into eroff, or is there a way out?  I have
a homebrewed Lj+ driver that I could use instead, but it doesn't handle
single bitmaps or bitmapped fonts, nor keep track of permanent fonts.

-:-
	Since barbarisms like "1th" and "3th" are barbaric, synonyms
	like "1st" and "3st" are accepted as well.

		--B. W. Kernighan, "PIC -- A Graphics Language for
		  Typesetting: Revised User Manual"
-- 
G. L. Sicherman
gls@corona.att.COM