[cairo] PDF backend generates images that gs can't display etc

Arjen Nienhuis a.g.nienhuis at gmail.com
Fri Feb 12 03:31:26 PST 2010


On Fri, Feb 12, 2010 at 8:45 AM, Michael Sløgedal <michael at makeweb.no> wrote:
> Aha, that's why I couldn't reproduce the problem.
>
> Is there a way to configure cairo to create v7 files?

Cairo creates PDF-1.4 which should work with Acrobat 5 and later. To
avoid the problem you could try to avoid using masks.

How do you draw that logo?

Groeten, Arjen

>
> Michael
>
> -----Original Message-----
> From: Arjen Nienhuis [mailto:a.g.nienhuis at gmail.com]
> Sent: 12. februar 2010 01:16
> To: Michael Sløgedal
> Cc: cairo at cairographics.org
> Subject: Re: [cairo] PDF backend generates images that gs can't display etc
>
> Cairo creates PDF files that only acrobat reader 9 can read. With
> acroread 7 I can reproduce the problem.
>
> As I understand it, it is actually a Acrobat bug and a Ghostscript bug
> and not a Cairo bug.
>
> Groeten, Arjen
>
> On Thu, Feb 11, 2010 at 9:08 PM, Michael Sløgedal <michael at makeweb.no> wrote:
>> Hi,
>>
>>
>>
>> Example case:
>>
>>
>>
>> wget http://www.makeweb.no/brosjyre.pdf
>>
>> gs -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=brosjyreb.pdf -dBATCH
>> brosjyre.pdf
>>
>>
>>
>> This generates a new pdf file, but with the logo on bottom page missing
>> (View the original file in acrobat to see what i mean).
>>
>>
>>
>> I had a chat with #ghostscript on freenode, and they said they could
>> reproduce the behaviour in acrobat (although i was not able to).
>>
>>
>>
>> Anyway this leads me back to #cairo J Any suggestions?
>>
>>
>>
>> The original file is created in cairo, it has a few jpeg images (used a jpeg
>> patch for this), a couple rectangle overlays, some pango text and a semi
>> transparent ellipse with a jpeg logo on top. (first page)
>>
>>
>>
>> Michael
>>
>> --
>> cairo mailing list
>> cairo at cairographics.org
>> http://lists.cairographics.org/mailman/listinfo/cairo
>>
>
>


More information about the cairo mailing list