lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Postscript BoundingBox ignored


From: kahl
Subject: Re: Postscript BoundingBox ignored
Date: 1 Jan 2006 21:32:27 -0500
User-agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.4 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

 > 
 > I try to include the attached postscript file in a lout file, rotating 
 > to be portrait mode, and the %%BoundingBox seems to be ignored. Any text 
 > written out after the included postscript file is put using the original 
 > %%BoundingBox, and not a rotated %%BoundingBox. E.x. the file is ~700 
 > wide by ~600. After rotating, lout will place text below 600 instead of 
 > 700. This results in text (the footer for the image) being placed inside 
 > the image.

Does the situation improve if you delete the four non-comment lines
in the PageSetup?

%%BeginPageSetup
systemdict /setpagedevice known
{
  <</PageSize[792 612]>> setpagedevice
} if
%%EndPageSetup

I've had similar problems with %%PageBoundingBox (always delete!),
%%*Orientation, and %%DocumentMedia.


In the file I also find:

%90 rotate 0 -8.5 72 mul translate


If you do that, it is your reponsibility to adapt the BoundingBox ---
I think there are some PostScript tools to help.
(Or use gv to find the coordinates of the BoundingBox you want
 by reading the mouse pointer coordinate display.)


Wolfram


reply via email to

[Prev in Thread] Current Thread [Next in Thread]