rs@mirror.TMC.COM.UUCP (03/25/87)
I once had to do something similar, when I wanted to substitute
Courier for Times-Italic for a (you guessed it) C style manual.
Here's what I did. First, cd to /usr/lib/ps/troff.font, or wherever
else you keep your PostScript/troff font data. Pick an existing
font .MAP file, and copy it to your new fake font-family name:
cp Times.map Rich.map
Skip past the comments, and look for
@FAMILYNAME Times
@FACENAMES R I B S
Change those two lines read
@FAMILYNAME Rich
@FACENAMES R I H S
As it says in the comments, R/I/H/S are the names that you're going
to call the fonts. The fourth font must be "S", a troff limitation.
In this example, I'm punting Bold for Helvetica.
Next, put the full TransScript font names into the file. That means
replacing the section that reads
@BEGINFONTS
ROMAN=Times-Roman
ITALIC=Times-Italic
BOLD=Times-Bold
SYMBOL=Symbol
EXTRAS=Times-Roman
@ENDFONTS
With something like this:
@BEGINFONTS
ROMAN=Times
ITALIC=Times-Italic
BOLD=Helvetica
SYMBOL=Symbol
EXTRAS=Times-Roman
@ENDFONTS
Edit the Makefile, adding your new font family:
FAMILIES = Times.ct Helvetica.ct Rich.ct
Do a make, and perhaps a "make install."
Now print some documents
ptroff -F Rich /usr/doc/cmanual
Enjoy,
/r$