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

List:       cairo
Subject:    [cairo] Help / incompatibility with the PDF output?
From:       Behdad Esfahbod <behdad () behdad ! org>
Date:       2023-11-28 17:37:08
Message-ID: CAF63+7WNBUPa2b-9Jxij2Hq=Y=6EocuhDhmaV2m1baWWCBFnCw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


[Resending with an even smaller image to pass the list limit...]

Hi everyone,

I'm facing an issue with the PDF output of cairo. Basically, the attached
PDF *should* render all text in grayish black. And that's what I see in
Evince. But both GitHub's web PDF viewer, and the MacOS PDF viewer, show
them *wrong*, like below:

[image: image2.png]
I've confirmed that HTML and PS output are fine. If I use ps2pdf to convert
the PS to PDF, then the PDF also renders fine.

I *am* using multiple cairo contexts at the same time to draw those things.
But trying to use just one context for all didn't seem to change anything.

Any help / advice is appreciated. PDF attached.

behdad
http://behdad.org/

[Attachment #7 (text/html)]

<div dir="ltr">[Resending with an even smaller image to pass the list \
limit...]<div><br></div><div><div>Hi everyone,</div><div><br></div><div>I&#39;m \
facing an issue with the PDF output of cairo. Basically, the attached PDF *should* \
render all text in grayish black. And that&#39;s what I see in Evince. But both \
GitHub&#39;s web PDF viewer, and the MacOS PDF viewer, show them *wrong*, like \
below:</div></div><div><br></div><div><img src="cid:ii_lpimejif1" alt="image2.png" \
width="242" height="198"><br></div><div><div>I&#39;ve confirmed that HTML and PS \
output are fine. If I use ps2pdf to convert the PS to PDF, then the PDF also renders \
fine.</div><div><br></div><div>I *am* using multiple cairo contexts at the same time \
to draw those things. But trying to use just one context for all didn&#39;t seem to \
change anything.</div><div><br></div><div>Any help / advice is appreciated. PDF \
attached.</div></div><div><br></div><div><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature">behdad<br><a href="http://behdad.org/" \
target="_blank">http://behdad.org/</a></div></div></div>


["image2.png" (image/png)]
["out.pdf" (application/pdf)]

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

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