[cairo-bugs] [Bug 5314] svg-print backend
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jan 29 11:07:20 PST 2006
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=5314
------- Additional Comments From emmanuel.pacaud at free.fr 2006-01-30 06:02 -------
If you change naming convention here:
+ snprintf (buffer, sizeof buffer, "surface%d-%d", surface->id,
+ _cairo_array_num_elements (&surface->document->pages));
You also need to adapt this code:
child = xmlNewChild (node, NULL, CC2XML("use"), NULL);
snprintf (buffer, sizeof buffer, "#surface%d", surface->id);
xmlSetProp (child, CC2XML ("xlink:href"), C2XML (buffer));
in emit_composite_svg_pattern()
Not that creating a similar svg surface with cairo_surface_create_similar during
drawing of one page, and painting it on an another page may happen, so you need
to store the second id.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the cairo-bugs
mailing list