[cairo] Bug in cairo_pdf_surface_set_size?
ajohnson at redneon.com
Tue Aug 7 15:21:46 PDT 2007
Elmar Braun wrote:
> I have a encountered a problem with PDF surfaces when using
> cairo_pdf_surface_set_size. I'm using Cairo 1.4.10. As demanded by the
> documentation, I'm calling cairo_pdf_surface_set_size before any drawing
> operations have taken place.
> After resizing, some (but not all) drawing operations are shifted along
> the Y-axis (but not the X-axis). The length of the shift seems to equal
> the growth of the page height by cairo_pdf_surface_set_size.
The attached patch should fix the problem.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the cairo