🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.laser-printers
Article #668

Re: Unix tbl problem on Imagen and Apple LW

#668
From: Jeff Gilliam
Date: Wed, 15 Apr 1987 07:27
116 lines
4907 bytes
In article <8704102102.AA25745@brillig.umd.edu>, mkhaw@TEKNOWLEDGE-VAXC.ARPA (Michael Khaw) writes:
> 
> Input that is intended to come out as columnar tables with boxes and lines
> separating the columns prints the text OK, and the vertical lines are
> correctly placed, but horizontal lines are often the wrong length and/or
> begin/end too far left/right.

I can't comment on your problems with the Imagen, but we did run into a
couple of problems with boxed tables vs. TranScript.  I've enclosed three
bug reports (and fixes) that we sent to Adobe.  Since making these changes
we haven't seen any problems with tables on the LaserWriter.  Your mileage
may vary, of course.

-------------------- cut here --------------------
: This is a shar archive.  Extract with sh, not csh.
: The rest of this file will extract:
: bug.3 bug.4 bug.5
echo extracting - bug.3
sed 's/^X//' > bug.3 << '-E-O-F-'
XSubject: pscat occasionally screws up tbl output
XIndex:	src/pscat.c 4.2BSD
X
XDescription:
X	Using tbl to generate boxed tables occasionally provokes
X	pscat into placing the bottom line in interesting places.
XRepeat-By:
X	Do enough boxed tables and you will see that the bottom
X	line doesn't always meet left side.  Sometimes, the bottom
X	line will *start* at the right side.  I can email a two page
X	troff output file that demonstrates the problem.
XFix:
X	Remove the assignment to pendingmove in CATForw() under
X	the PPROC case.
X
XRCS file: /usr/src/local/transcript/src/RCS/pscat.c,v
Xretrieving revision 2.1.1.1
Xretrieving revision 2.1.1.2
Xdiff -c -r2.1.1.1 -r2.1.1.2
X*** /tmp/,RCSt1021365	Wed Sep 17 18:07:03 1986
X--- /tmp/,RCSt2021365	Wed Sep 17 18:07:07 1986
X***************
X*** 461,463
X  	    printf("%ld %ld M\n", wantPSx / PSperCAT, wantPSy / PSperCAT);
X- 	    pendingmove = pendXY; /* force moveto next time */
X  	    printf("%d %d %d %d %d %d %d %d PS%d\n",
X
X--- 464,465 -----
X  	    printf("%ld %ld M\n", wantPSx / PSperCAT, wantPSy / PSperCAT);
X  	    printf("%d %d %d %d %d %d %d %d PS%d\n",
-E-O-F-
echo extracting - bug.4
sed 's/^X//' > bug.4 << '-E-O-F-'
XSubject: box rule poorly defined in pscat.pro
XIndex:	lib/ps/pscat.pro 4.2BSD
X
XDescription:
X	The box rule defined in pscat.pro doesn't line up properly
X	with the underrule.  As a result, boxed tables generated
X	by tbl are incorrect.
XRepeat-By:
X	Use tbl to generate a boxed table.
XFix:
X
XRCS file: /usr/src/local/transcript/lib/RCS/pscat.pro,v
Xretrieving revision 1.1
Xretrieving revision 1.2
Xdiff -c -r1.1 -r1.2
X*** /tmp/,RCSt1021403	Wed Sep 17 18:14:55 1986
X--- /tmp/,RCSt2021403	Wed Sep 17 18:14:57 1986
X***************
X*** 72,74
X  % box rule
X! /PS32 {bb /sw size 24 div def sw 2 div size 4.5 div moveto
X         0 size neg rlineto sw setlinewidth be}def
X
X--- 72,74 -----
X  % box rule
X! /PS32 {bb /sw size 24 div def sw 2 div size 8 div moveto
X         0 size neg rlineto sw setlinewidth be}def
-E-O-F-
echo extracting - bug.5
sed 's/^X//' > bug.5 << '-E-O-F-'
XSubject: width of box rule incorrectly specified
XIndex:	lib/ps/troff.font/Times.map 4.2BSD
X
XDescription:
X	Times.map incorrectly defines the width of the box rule as
X	3/36 em.  Tbl expects the box rule to be zero width (as it is
X	in the standard troff width tables).
XRepeat-By:
X	Use tbl to generate tables with vertical rules.  Observe
X	strange results.
XFix:
X
XRCS file: /usr/src/local/transcript/lib/troff.font/RCS/Times.map,v
Xretrieving revision 1.1
Xretrieving revision 1.2
Xdiff -c -r1.1 -r1.2
X*** /tmp/,RCSt1021451	Wed Sep 17 18:20:28 1986
X--- /tmp/,RCSt2021451	Wed Sep 17 18:20:30 1986
X***************
X*** 447,449
X  0336  B 0153  -1  PFONT   0   0  SYMBOL   0323  "bold copyright" 
X! 0337  S 0146   3  PPROC   0   0  0        0040  "box rule" 
X  0340  R 0127  -1  PFONT   0   0  ROMAN    0242  "cent" 
X
X--- 447,449 -----
X  0336  B 0153  -1  PFONT   0   0  SYMBOL   0323  "bold copyright" 
X! 0337  S 0146   0  PPROC   0   0  0        0040  "box rule" 
X  0340  R 0127  -1  PFONT   0   0  ROMAN    0242  "cent" 
-E-O-F-
exit 0
-- 

Jeff Gilliam	{ucbvax,pyramid,nsc}!voder!jeff
Technical Details
Message-ID: <8704171904.AA14234@brillig.umd.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!mit-eddie!genrad!decvax!ucbvax!voder.UUCP!jeff
References: <8704102102.AA25745@brillig.umd.edu>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!mit-eddie!genrad!decvax!ucbvax!voder.UUCP!jeff
From: jeff@voder.UUCP (Jeff Gilliam)
Newsgroups: comp.laser-printers
Subject: Re: Unix tbl problem on Imagen and Apple LW
Message-ID: <8704171904.AA14234@brillig.umd.edu>
Date: Wed, 15-Apr-87 02:27:11 EST
Article-I.D.: brillig.8704171904.AA14234
Posted: Wed Apr 15 02:27:11 1987
Date-Received: Sun, 19-Apr-87 12:46:27 EST
References: <8704102102.AA25745@brillig.umd.edu>
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: National Semiconductor, Santa Clara
Lines: 116
Approved: laser-lovers@brillig.umd.edu
Summary: TranScript fixes