Path: utzoo!attcan!uunet!tektronix!pogo!curtj From: curtj@pogo.GPID.TEK.COM (Curt ) Newsgroups: comp.lang.postscript Subject: Re: FontBBox definition Keywords: FontBBox PostScript Message-ID: <5836@pogo.GPID.TEK.COM> Date: 18 Aug 88 21:23:53 GMT References: <21@cwjcc.CWRU.Edu> Reply-To: curtj@pogo.GPID.TEK.COM (Curt (Jutz) Jutzi) Distribution: na Organization: Tektronix, Inc., Wilsonville, OR. Lines: 27 In article <21@cwjcc.CWRU.Edu> bammi@dsrgsun.ces.CWRU.edu (Jwahar R. Bammi) writes: >- 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). Only if you execute the array. >- Under NeWS V1.1 FontBBox pushes an array of 4 elements on the stack. >/Times-Roman findfont 10 scalefont /FontBBox get == % OMNI laser % LaserWriter You must have a differant LaserWriter than I do. /Times-Roman findfont 10 scalefont /FontBBox get == flush produces { -170 -223 1024 896 } on the operand stack. This is an executable array. (a procedure if you will) It still is an array, but if you execute it, it will replace the array with the 4 numbers. ---------------------------------------------------------------------- Curt Jutzi (Jutz) ... tektronix!pogo!curtj Tektronix Inc. ... pogo!curtj@tektronix Del. St. 63-356 (503) 685-3723 P.O. Box 1000 "LIFE IS AN ADVENTURE,, GIVE IT A GO." Wilsonville,OR 97070