🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #7419

Re: FontBBox definition

#7419
From: Emil Rainero
Date: Tue, 16 Aug 1988 16:47
45 lines
2146 bytes
In article <21@cwjcc.CWRU.Edu> bammi@dsrgsun.ces.CWRU.edu (Jwahar R. Bammi) writes:
>Can someone shed some light on the following:
>
>	- The `red' book defines FontBBox as an array type (of 4 elements).
>
>	- On the Apple LaserWriter and the Apple LaserWriter-II/NTX 
>	  FontBBox pushes four values on the stack (not in an array).

FontBBox is defined as an executable array on our LaserWriter+ (38.0).

>	- Under NeWS V1.1 FontBBox pushes an array of 4 elements on the
>	  stack.

The reference manual does not specify.  

>Which of the above is the correct behavior of FontBBox??

Both. Thats the advantage of a loose specification.

By the way, has anyone else noticed that the only mention of how to set the an 
outlined font's stroke width is in Program 16 of the Tutorial and Cookbook. 
Is the StrokeWidth field in the font dictionary documented in the reference
manaul?

On an even touchier note, does anyone in netland have an extensive list of 
PostScript bugs? This is for whatever printer/version you have, whether the bug 
is a show stopper or just a compatibility problem between your printer and the
reference manual.

Heres a small teaser. 

Program 5 in the Tutorial and Cookbook does an "idiv" with a real first 
argument which is a typecheck error according to the Reference Manual but works
just fine on a LaserWriter+ version 38.0.  The actual computation is

276.0 60 idiv


This is the type of nonportable problem I would like to see documented.


-- 
Emil Rainero -- Xerox Webster Research Center
UUCP:           {seismo,allegra,decvax,cmcl2,topaz}!rochester!rocksanne!rainero
Arpa Internet:   Rainero.wbst@xerox.arpa
Technical Details
Message-ID: <598@rocksanne.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!bloom-beacon!apple!rutgers!gatech!bbn!rochester!rocksanne!rainero
References: <21@cwjcc.CWRU.Edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!bloom-beacon!apple!rutgers!gatech!bbn!rochester!rocksanne!rainero
From: rainero@rocksanne.UUCP (Emil Rainero)
Newsgroups: comp.lang.postscript
Subject: Re: FontBBox definition
Keywords: FontBBox PostScript
Message-ID: <598@rocksanne.UUCP>
Date: 16 Aug 88 16:47:18 GMT
References: <21@cwjcc.CWRU.Edu>
Reply-To: rainero@rocksanne.UUCP (Emil Rainero)
Distribution: na
Organization: Xerox Corp., Webster, NY
Lines: 45