[cairo-bugs] [Bug 55706] pattern_create_linear with pattern_add_color_stop_rgba with offset 0.5 failed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 7 04:38:09 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=55706

Uli Schlachter <psychon at znc.in> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Uli Schlachter <psychon at znc.in> ---
Can't reproduce with git/master, bug was already fixed.

Git bisect finds (which is commit 1.10.0-231-g3cbe82f aka 1.11.2~98, so
anything 1.11.2 or newer should be fine):

commit 3cbe82fe586f64dd11a0b2bc9f58619968965369
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Sun Dec 12 22:29:56 2010 +0000

    ps,pdf: Deal with empty domain gradients.

    If all the stops of the gradient have the same offset and the
    pattern's extend mode is EXTEND_PAD, then we cannot use the stops'
    domain as the interpolation parameter range because this would produce
    a gradient with the same start and end objects.  Such ranges tickle
    bad behaviour in rasterisers.

    We replace the color function with an appropriate step function
    defined on [0 1].

    Fixes radial-gradient-one-stop for pdf and ps3.

    Reviewed-by: M Joonas Pihlaja <jpihlaja at cc.helsinki.fi>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20121007/5ea5a8f8/attachment.html>


More information about the cairo-bugs mailing list