Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!ukma!rutgers!bellcore!dana From: dana@dino.bellcore.com (Dana A. Chee) Newsgroups: comp.windows.x Subject: Re: xtroff Message-ID: Date: 1 Mar 89 14:05:14 GMT References: <13690@duke.cs.duke.edu> Sender: news@bellcore.bellcore.com Organization: Bellcore, Morristown, NJ USA Lines: 51 In-reply-to: ndd@romeo.cs.duke.edu's message of 28 Feb 89 22:50:13 GMT In article <13690@duke.cs.duke.edu> ndd@romeo.cs.duke.edu (Ned D. Danieley) writes: I finally got xtroff to work, using the patches from Mark Moraes, and, frankly, the scaled vfonts look terrible. Yes, they do. I tried to use my Imagen fonts, but haven't had any success; I think the names are a problem. I saw a note back in October about using other fonts, but I was wondering if there is a latest and greatest version of xtroff that in which everything works right, and font support is easy to handle. The Imagen fonts will work VERY well, because they are matched to the DESC file used when you ran the troff. Here's how to make things work. First you need the bitmaps for the imagen (this won't work if your fonts are stored on your imagen server (box)). In the top level Imakefile, RSTFONTS= 'the location of your imagen bitmaps' SUNTROFF_FONTS = 'the location to put your X fonts' DEVICE = 'the name of your imagen as known by ditroff, i.e. 300' WIDTHDIR= 'where your troff devices are kept, i.e. /usr/local/lib/font' MAKEDEV = 'where your makedev program is kept' PERCENT=40 Define -DNOADJUST in the CFLAGS after making xfonts, you will have an X font directory filled with files called dev300.i.10.snf (where dev300 is replaced by whatever you pass to ditroff for the -T option). If there are more problems setting up xtroff with imagen fonts (the only ones I use), send mail and maybe I can help. xtroff looks really good with the right fonts. Ned Danieley (ndd@sunbar.mc.duke.edu) Basic Arrhythmia Laboratory Box 3140, Duke University Medical Center Durham, NC 27710 (919) 684-6807 or 684-6942 -- +*************************************************************************+ * Dana Chee (201) 829-4488 * * Bellcore * * Room 2Q-250 * * 445 South Street ARPA: dana@bellcore.com * * Morristown, NJ 07960-1910 UUCP: {gateways}!bellcore!dana * +*************************************************************************+