Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!sri-unix!sri-spam!ames!sdcsvax!allyn From: allyn@sdcsvax.UCSD.EDU (Allyn Fratkin) Newsgroups: comp.unix.questions Subject: Re: Courier font in troff Message-ID: <3783@sdcsvax.UCSD.EDU> Date: Thu, 3-Sep-87 17:10:55 EDT Article-I.D.: sdcsvax.3783 Posted: Thu Sep 3 17:10:55 1987 Date-Received: Sat, 5-Sep-87 11:50:28 EDT References: <1196@pinney.munsell.UUCP> Organization: U.C. San Diego Lines: 78 In article <1196@pinney.munsell.UUCP>, pac@munsell.UUCP () writes: > How can I use the Courier (typewriter like, fixed width) font in > troff? I am using a Sun running SunOS 3.2 with a Sun purchased > Laserwriter and troff. Everything is off the shelf and standard. We are using Adobe's Transcript package for our Sun running SunOS 3.2 with an Apple Laserwriter. We use troff (not ditroff). I do not know how close Sun's package is to Transcript. I will describe what I did to use Courier in the hopes that it can guide you (and others). In the directory /usr/lib/ps/troff.font there is a file called Helvetica.map that lists the Helvetica font to troff character mapping. Copy this to Courier.map and change all the Helvetica references to Courier. (There is a context diff for the two files appended to this message.) Then type "make FAMILIES=Courier" and you should be done. This will create the files Courier.ct, Courier.head, ftC, ftCI, and ftCB. Good Luck! ---- cut here ----- *** Helvetica.map Tue Jun 9 14:13:17 1987 --- Courier.map Thu Sep 3 13:27:32 1987 *************** *** 2,8 **** % % Copyright (c) 1985 Adobe Systems, Inc. % ! % Font correspondence mapping for Troff and PostScript Helvetica family. % % PostScript and TranScript are trademarks of Adobe Systems, Inc. % Times is a trademark of Allied Corporation. --- 2,8 ---- % % Copyright (c) 1985 Adobe Systems, Inc. % ! % Font correspondence mapping for Troff and PostScript Courier family. % % PostScript and TranScript are trademarks of Adobe Systems, Inc. % Times is a trademark of Allied Corporation. *************** *** 33,47 **** % generated that, when compiled, are used by troff as width % tables. ! % note that we will ignore HS and mount "S" when using troff! ! @FAMILYNAME Helvetica ! @FACENAMES H HI HB HS @BEGINFONTS ! ROMAN=Helvetica ! ITALIC=Helvetica-Oblique ! BOLD=Helvetica-Bold SYMBOL=Symbol EXTRAS=Times-Roman @ENDFONTS --- 33,47 ---- % generated that, when compiled, are used by troff as width % tables. ! % note that we will ignore CS and mount "S" when using troff! ! @FAMILYNAME Courier ! @FACENAMES C CI CB CS @BEGINFONTS ! ROMAN=Courier ! ITALIC=Courier-Oblique ! BOLD=Courier-Bold SYMBOL=Symbol EXTRAS=Times-Roman @ENDFONTS -- From the virtual mind of Allyn Fratkin allyn@sdcsvax.ucsd.edu or EMU Project {ucbvax, decvax, ihnp4} U.C. San Diego !sdcsvax!allyn