Bug 5542 - Broken PDF output
Summary: Broken PDF output
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: pdf backend (show other bugs)
Version: 1.1.1
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Kristian Høgsberg
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-08 03:56 UTC by Dom Lachowicz
Modified: 2006-06-29 09:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
The SVG (4.76 KB, image/svg+xml)
2006-01-08 03:56 UTC, Dom Lachowicz
Details
The PNG (3.35 KB, image/png)
2006-01-08 03:57 UTC, Dom Lachowicz
Details
The PDF (8.28 KB, application/pdf)
2006-01-08 03:57 UTC, Dom Lachowicz
Details

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.