Bug 5542

Summary: Broken PDF output
Product: cairo Reporter: Dom Lachowicz <domlachowicz>
Component: pdf backendAssignee: Kristian Høgsberg <krh>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 1.1.1   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: The SVG
The PNG
The PDF

Description Dom Lachowicz 2006-01-08 03:56:18 UTC
Sorry for such a complicated test case.

Using Cairo CVS HEAD and librsvg CVS HEAD, use the rsvg-convert program to
convert librsvg/tests/window.svg to PNG and PDF:

rsvg-convert -f png < window.svg > window.png
rsvg-convert -f pdf < window.svg > window.pdf

Using XPDF or Ghostscript/GGV to view the PDF results in "jagged" drawing (as is
the case for every SVG I've converted to PDF using Cairo). Acrobat doesn't have
this jagged-ness.

Using Acrobat Reader to view the resulting PDF results in the coloring being
off, most noticably in the gradients.
Comment 1 Dom Lachowicz 2006-01-08 03:56:58 UTC
Created attachment 4282 [details]
The SVG
Comment 2 Dom Lachowicz 2006-01-08 03:57:14 UTC
Created attachment 4283 [details]
The PNG
Comment 3 Dom Lachowicz 2006-01-08 03:57:27 UTC
Created attachment 4284 [details]
The PDF
Comment 4 Behdad Esfahbod 2006-06-29 08:43:40 UTC
Dom, the PDF backend looks way better now.  Can you test with cairo HEAD from git?
Comment 5 Dom Lachowicz 2006-06-29 09:27:29 UTC
Yeah, this is better due to improvements in the analysis surface.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.