[cairo] Odd bug in 1.5.6, not rendering all of attached Inkscape file

Carl Worth cworth at cworth.org
Tue Jan 22 13:13:27 PST 2008

On Tue, 22 Jan 2008 13:57:13 -0600, Terry Brown wrote:
> In the attached .zip are incomplete_pdf.svg, incomplete_pdf.pdf,
> incomplete_pdf.png.

Hi Terry,

Thanks for reporting the bug, and thanks for working to minimize your
test case. The files you sent are all nice and small, (no more than
20k each), so directly attaching them rather than putting them inside
a zip file would have made them more convenient.

> For some reason Cairo 1.5.6, as invoked by Inkscape SVN 17155, on
> Ubuntu 7.10, doesn't save all the parts of incomplete_pdf.svg to
> incomplete_pdf.pdf.  The SVG was originally part of a larger file, and
> no layers above the SVG included here are rendered, so cairo is
> aborting rather than skipping the render of just these parts.
> This is, or at least appears to be, a quite trivial bit of SVG, BTW.

So incomplete_pdf.png is a demonstration of correct rendering?

Does the page have to be quite so large to trigger the bug? If so,
that's fine. I'm just curious when seeing large images like this if
that's just incidental or not. I don't notice any large elements in
the svg file, (with "zoom to drawing" in inkscape it zooms in tight to
the visible parts).

Oh, and another thing that might be very useful here is if you could
run the buggy rendering with inkscape with libcairowrap, (google for
details and ask here if you get stuck). That will give us a nice view
into exactly what cairo calls inkscape is making and will allow us to
eliminate the possibility of bugs in inkscape rather than cairo.

Thanks again, and I hope you do have lots of fun with cairo,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080122/3143643e/attachment.pgp 

More information about the cairo mailing list