[Poppler-bugs] [Bug 14408] New: Spectacular gradient failure

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 6 15:52:46 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=14408

           Summary: Spectacular gradient failure
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: cworth at cworth.org


Background: I recently generated slides for a talk (originally SVG, then
converted to PDF with librsvg+cairo), but they appeared as full-page, black
smears when viewed with evince (poppler+cairo).

Diagnosis: I was able to trim down the failure to a single, small,
gradient-filled rectangle. I'll attach an SVG version of the rectangle, which
was written by hand and is trivial to verify as correct. I'll also attach a PDF
version of the rectanlge. I haven't manually verified this as correct, but it
does render correctly with acroread. Finally, I'll attach PNG files showing a
correct rendering of the SVG file (from a librsvg-based svg2png), and the
incorrect rendering by poppler of the PDF file, (from a poppler-based pdf2png).

Finally, I want to point out that the bakground of the -pdf2png.png file is
coming out white, but in the evince (0.8.3) rendering of the PDF file, the
output is black, (with some gray stripes).

Recommendation: It's likely time to bite the bullet and implement poppler
gradients as cairo gradients, (at least when using the cairo backend). That
would certainly be sufficient to make me happy, and should eliminate bugs like
this.

-Carl


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list