<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - pattern_create_linear with pattern_add_color_stop_rgba with offset 0.5 failed"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55706">55706</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>ajohnson@redneon.com
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>pattern_create_linear with pattern_add_color_stop_rgba with offset 0.5 failed
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>volkerobhof@web.de
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.10.2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>pdf backend
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=68176" name="attach_68176" title="pattern bug example">attachment 68176</a> <a href="attachment.cgi?id=68176&action=edit" title="pattern bug example">[details]</a></span>
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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>