[GRASS-dev] ps.map rotate bug! + [d.out.file now talks to the PostScript driver]

Glynn Clements glynn at gclements.plus.com
Thu May 17 12:10:22 EDT 2007


Hamish wrote:

> > > .ps format now includes "%%BoundingBox: 36 72 559 769"
> > > (GRASS_PAPER=A4) which crops off the margins. Usually I'd expect the
> > > BBox to be the full A4 range. Is this intentional?
> > 
> > BoundingBox refers to the actual graphics:
> > 
> > 	This comment specifies the bounding box that encloses all
> > 	marks painted on all pages of a document. That is, it must be
> > 	a "high water mark" in all directions for marks made on any
> > 	page.
> 
> FWIW ps2epsi interprets this differently.
> Given a .ps file made with the GRASS PS driver it will produce an
> EPS file which has a bounding box of the full A4, "0 0 595 842".

If you use GRASS_PAPER=A4, that's correct.

Note that all frames (even the full_screen frame) always have a border
drawn, so the bounding box will always encompass the entire "screen",
even if you only use a portion of it.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list