[cairo] possible postscript bug question

Chris Wilson chris at chris-wilson.co.uk
Thu Jan 14 10:52:09 PST 2010

On Thu, 14 Jan 2010 19:43:14 +0100, Micha <micha-1 at fantasymail.de> wrote:
> So, is this a cairo bug? Is there a chance that this patch gets included in 
> the next version?

Yes, that patch was taken from master:
commit a4a59be600cbe17f43afa20422f9d05f3a5d5b52
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sat Nov 7 14:36:49 2009 +1030

    Type 1 subset: Don't add a new line when in binary mode
    At the end of the private dictionary a new line is appended so that
    the trailing zeros will not exceed 80 columns. In hex mode (used for
    PS embedding) extra white space is harmless as it is ignored when
    parsing the ascii hex encoded data. But in binary mode (used for PDF
    embedding) the new line must not be added as it corrupts the binary

Hope this helps,

Chris Wilson, Intel Open Source Technology Centre

More information about the cairo mailing list