[cairo] Bug in the svg backend

Maximilian Heinzler maxi at heinzler.de
Mon Jun 13 02:47:47 PDT 2011


I found a bug in the svg backend.

 

The problem is the following:

If you use a surface pattern in two different svg documents it is possible
that the source is not written to the second file. This patch should fix
this completely.

 

Note:

There is a test file attached which shows the bug, but because it's a
problem of pointer addresses it may work on some machines without any
mistake.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110613/7e8d96c9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svg-test.c
Type: application/octet-stream
Size: 1178 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110613/7e8d96c9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svg-patch
Type: application/octet-stream
Size: 3015 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110613/7e8d96c9/attachment-0001.obj>


More information about the cairo mailing list