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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 6 15:04:10 PDT 2012


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

          Priority: medium
            Bug ID: 55706
          Assignee: ajohnson at redneon.com
           Summary: pattern_create_linear with pattern_add_color_stop_rgba
                    with offset 0.5 failed
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: volkerobhof at web.de
          Hardware: Other
            Status: NEW
           Version: 1.10.2
         Component: pdf backend
           Product: cairo

Created attachment 68176
  --> https://bugs.freedesktop.org/attachment.cgi?id=68176&action=edit
pattern bug example

There is a bug by creating a line with 

cairo_pattern_create_linear() and cairo_pattern_add_color_stop_rgba().

If the offset of cairo_pattern_add_color_stop_rgba() in the first call is 0.0
and in the other 1.0 it works fine with Adobe Acrobat Reader and Evince
document viewer on ubuntu 12.04.

If I set the offset to 0.5 on both function calls in Adobe Acrobat Reader  and
in Evince document viewer the line disappears also on Ubuntu 12.04.

I also attached the example as source code and views from document viewers.

This bug has no effect on png outputs.

-- 
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/20121006/97e066e9/attachment.html>


More information about the cairo-bugs mailing list