[cairo] Problems with cairo_get_line_width and "new" semantics

Jeff Muizelaar jeff at infidigm.net
Tue May 16 17:00:10 PDT 2006


On Tue, May 16, 2006 at 03:24:35PM -0700, Carl Worth wrote:
> On Tue, 16 May 2006 13:41:54 -0700, Carl Worth wrote:
> > 
> > Meanwhile, the easy case and the reference for the easy case are still
> > failing for PDF, (which seems quite bizarre).
> > 
> 
> Oh, this looks like it is just the poppler bug I had originally seen
> when I first created this test case. (I haven't actually verified that
> the contents of the PDF file are correct according to the PDF
> reference, but the rendering acroread gives matches what the test
> program produces with the image backend, so the PDF file is at least
> defacto correct).
> 
> I think Jeff had already tracked this poppler bug down a bit, but I
> now actually reported it here:
> 
> Pen is not being transformed by cm operator
> https://bugs.freedesktop.org/show_bug.cgi?id=6948

I have a rough patch attached to that bug that should fix it...
I haven't gotten a chance to clean it up yet though.

Before I do that though I am trying to fix this issue:

I am getting:
cairo-surface.c:350: cairo_surface_destroy: Assertion `surface->ref_count > 0' failed.

when rendering http://people.freedesktop.org/~jrmuizel/2005_05_06.pdf.

-Jeff


More information about the cairo mailing list