[gl2ps] tight EPS bounding box

Christophe Geuzaine geuzaine at acm.caltech.edu
Sat Jun 18 19:31:03 CEST 2005


Stephane Popinet wrote:
> Hi,
> 
> First of all, thanks for this very nice library.
> 
> I was wondering if I was the only one interested in having the 
> possibility of generating EPS files with a tight bounding box i.e. a 
> bounding box enclosing as tightly as possible all the OpenGL entities 
> rather than the default of using the viewport as the bounding box.
> 
> I know it's simple enough to recompute a tight bounding box for the EPS 
> file afterward, but it would be nice if this was at least an option in 
> gl2ps (I actually believe it should be the default for EPS files; this 
> is, after all, the only difference between EPS and PS).
> 

Hi Stephane - Funny you should mention this: I have this feature already 
coded up in my "private" version of gl2ps. I will try to find some time 
to make a new release of the library this w-e.

Take care,

Christophe

-- 
Christophe Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org