Re: Recording surfaces fail to replay onto SVG surfaces
Antonio Ospite <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 14 Oct 2017 21:01:19 +1030 Adrian Johnson <[email protected]> wrote: [...] > In recent versions, unbounded recording surfaces are emitted as a group > instead of replaying the drawing operations. This allows the group to be > emitted once and used multiple times. > > The problem is the SVG backend marks a surface as emitted by setting a > user_data key on the surface. This prevents the surface from being > reused on another SVG file. > > I've pushed a fix that uses a hash table to tracked emitted surfaces the > same way as the PDF backend. The fix also includes the support for > CAIRO_MIME_TYPE_UNIQUE_ID that is in the PDF backend. That fixed my issue, thanks a lot Adrian. Ciao, Antonio -- Antonio Ospite https://ao2.it https://twitter.com/ao2it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo