[gl2ps] text display problem

Christophe Geuzaine geuzaine at acm.caltech.edu
Fri Aug 20 00:10:00 CEST 2004


Shai Ayal wrote:

> Hi all,
> 
> looking at a ps file produced by gl2ps (version 1.2.1) I noticed that 
> the structure of the file is: prolog, text , other stuff ...

Actually, no. The text is simply sorted in the same way as all the other 
  primitives (which is very useful when you want to reproduce 3D scenes 
with embedded text). If you want all the text strings to appear in 
front, just use an appropriate z-offset in the glRasterPos calls.

Best,

Christophe

> 
> This structure causes a problem: Text can be obscured by polygons etc... 
> I am not sure that this can be called a bug since the placement of text 
> above all other "entities" is not promised anywhere. However it seems 
> reasonable to me that text will be on top of all other things. In the 
> OpenGL window on screen the text does show up on top of everything.
> 
>     Shai
> _______________________________________________
> gl2ps mailing list
> gl2ps at geuz.org
> http://www.geuz.org/mailman/listinfo/gl2ps
> 


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