[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] Recording surfaces fail to replay onto SVG surfaces
From:       Antonio Ospite <ao2 () ao2 ! it>
Date:       2017-10-16 10:56:17
Message-ID: 20171016125617.ceb48ada7b924f4276343e62 () ao2 ! it
[Download RAW message or body]

On Sat, 14 Oct 2017 21:01:19 +1030
Adrian Johnson <ajohnson@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?
-- 
cairo mailing list
cairo@cairographics.org
https://lists.cairographics.org/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic