[cairo] Recording surfaces fail to replay onto SVG surfaces
Antonio Ospite
ao2 at ao2.it
Mon Oct 16 10:56:17 UTC 2017
On Sat, 14 Oct 2017 21:01:19 +1030
Adrian Johnson <ajohnson at redneon.com> 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?
More information about the cairo
mailing list