🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #6594

Re: AT&T DWB2.0 question

#6594
From: Jeff Lo
Date: Tue, 19 Dec 1989 23:17
26 lines
1895 bytes
In article <323@vidiot.UUCP> brown@vidiot.UUCP (Vidiot) writes:
>I currently have MicroPort's version of AT&T's Documentor's Workbench 2.0.
>Is it true that DWB is imited to the loading of 10 font positions?  I tried
>doing a .fp 11 and 12 (with appropriate fonts names) and the PostScript output
>showed that they both were assigned to position #1.  Not good.  I changed them
>to 7 and 8 and everything is just fine.
>
>If this is really true, then I suppose I can play games by shifting fonts
>in and out as required.

There are a few problems with doing this.  The first is that the stock
DWB 2.0 troff code only allocates (as global arrays) enough space for 10
mounted fonts.  You can actually mount more than 10 if you set up your
DESC font description file right, but the stock troff doesn't do any
bounds checking and ends up writing font data all over the place.  This
leads to all sorts of fun.  I also seem to remember something about
problems trying to select a font position greater than 9 with the \fN
construct, but I'm not as sure about this one.  Fonts are also
automatically temporarily mounted on position 0 if you call up a font
which is not mounted, but there are some bugs with this in certain cases
also.  You're probably best off only mounting on positions 1-8, leaving
position 9 for the special font.
-- 
Jeff Lo, Elan Computer Group, Inc.
jlo@elan.com, ..!{ames,uunet}!elan!jlo
888 Villa Street, Third Floor, Mountain View, CA 94041, 415-964-2200
Technical Details
Message-ID: <678@elan.elan.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!mailrus!ames!elan!jlo
References: <323@vidiot.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!mailrus!ames!elan!jlo
From: jlo@elan.elan.com (Jeff Lo)
Newsgroups: comp.text
Subject: Re: AT&T DWB2.0 question
Message-ID: <678@elan.elan.com>
Date: 19 Dec 89 23:17:42 GMT
References: <323@vidiot.UUCP>
Reply-To: jlo@elan.elan.com (Jeff Lo)
Distribution: na
Organization: Elan Computer Group, Inc., Mountain View, CA
Lines: 26