Bug 5681

Summary: color-stops of patterns get their offsets mixed up
Product: cairo Reporter: Mirco Müller <macslow>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: major    
Priority: high    
Version: 1.0.2   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: screenshot showing off the two different behaviours
a short example-program to reproduce the bug
Cairo only test case

Description Mirco Müller 2006-01-22 18:01:22 UTC
Gradient-patterns that render correctly under cairo-head (as of january 2006)
are wrongly rendered if the very same code gets executed by cairo 1.0.2. For
further demonstration I attch a short sample-program reproducing the error and a
screenshot showing off both cases running side by side. Regarding the summary of
this bug I want to add, that I only guess that mangled color-stop offsets are
the cause for the rendering error.
Comment 1 Mirco Müller 2006-01-22 18:04:27 UTC
Created attachment 4430 [details]
screenshot showing off the two different behaviours

I get this for the same executable. The only difference is that I bend
$LD_LIBRARY_PATH to point to a different installed library-version of cairo.
Comment 2 Mirco Müller 2006-01-22 18:06:47 UTC
Created attachment 4431 [details]
a short example-program to reproduce the bug
Comment 3 Chris Wilson 2008-10-08 07:49:10 UTC
Created attachment 19495 [details]
Cairo only test case

Revamped test case to only require cairo.
Comment 4 Andrea Canciani 2010-08-08 06:07:10 UTC
This has been fixed in commit 9737b4de39162a86844e07f50aa76e881063dab9.
Mark as resolved/fixed?

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.