[cairo] Bug in 1.8.6 in PostScript Surface - test on win32 and linux

Adrian Johnson ajohnson at redneon.com
Wed Apr 29 12:17:42 PDT 2009


Darren Gallagher wrote:
> Sorry if I was unclear.  I get a PS file but it is just a blank page 
> when opened.
> 
> Full program listing:
> 
> #include <cairo.h>
> #include <cairo-pdf.h>
> #include <cairo-svg.h>
> 
> int main (int argc, char *argv[])
> {
>     cairo_surface_t *surface;
>     cairo_t *cr;
> 
>     surface = cairo_ps_surface_create ("hellocairo.ps" , 504, 648);

You are missing the #include <cairo-ps.h>



More information about the cairo mailing list