[cairo] PDF output always different

Adrian Johnson ajohnson at redneon.com
Tue May 13 05:23:18 PDT 2008


Kristof Van Landschoot wrote:
> Hi,
> 
> We've found that even with running the same set of cairo commands the 
> order in which the objects in the PDF output appear isn't predictable.  
>  From what I can see in the code I think the hash maps that are used to 
> store the fonts might be the reason for that.  Is there something we can 
> do about this?

I've attached a patch that ensures the fonts are embedded in a 
predictable order. Let us know if this fixes the problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-font-subsetting-output-fonts-in-order-of-the-fo.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080513/d2ed5c25/attachment-0001.bin 


More information about the cairo mailing list