Re: trouble with Cairo text in OpenGL
Victor henri <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Hello people and thank you for your suport To Bill : > Does he need to do cairo_flush(cr) before using the pixels? > I cannot find this function > You did not set the current point before drawing the text, so I think it > drew it at 0,0 and you are just seeing the descenders of some letters. Well I tried to change that also, without succes; I must say that I can see the surface at the place I want it to be, but it is just a white rectangle with nothing written on it... > > You may also need to do cairo_surface_flush(surface) before grabbing the > image? I did; no change untill now. To Henry : >You use RGBA as format in glTexImage2D(), make sure your image data is RGBA format. I don't know how to check that in Cairo; To everyone : Thank you again Victor -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo