[gl2ps] glBitmap

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sat Mar 24 18:58:27 CET 2007


Timur Pocheptsov wrote:
> Hello.
> 
> We use Your nice gl2ps library to produce *.pdf screenshots from our gl-based application.
> I know, that gl2ps has some limitation - textures. 
> In our app we use glRasterPos and glBitmap to draw simple text. But we cannot see these numbers/letters in a resulting pdf. Is that a limitation
> of gl2ps or we should look for bugs in our code ? :)

Hello Timur - It's just de to the way gl2ps works. To get text in the 
output, you need to use the gl2psText() routine (or gl2psDrawPixels() if 
you really want bitmap text).



> 
> Thanks.
> 
> _______________________________________________
> gl2ps mailing list
> gl2ps at geuz.org
> http://www.geuz.org/mailman/listinfo/gl2ps
> 
> 


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine