<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - cairo-matrix: invalid matrix created in _cairo_matrix_to_pixman_matrix_offset()"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86200">86200</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>cairo-matrix: invalid matrix created in _cairo_matrix_to_pixman_matrix_offset()
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.12.16
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bfo@andred.net
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=109340" name="attach_109340" title="test case">attachment 109340</a> <a href="attachment.cgi?id=109340&action=edit" title="test case">[details]</a></span>
test case

The attached test is a copy of the code in
_cairo_matrix_to_pixman_matrix_offset()

Using the embedded values for the matrix, the cairo code converts this into a
pixman_transform_t which can not be handled by pixman, due to 16 bit overflow.

I believe this particular matrix doesn't need any translation, as all values
fit nicely into 16 bit from the start for pixman. The end-result is that the
drawing operation fails, although it need not.


Not sure what the correct fix is, it could either check whether the matrix as
passed in needs any modification for pixman, or it could check whether a
smallest maximum norm was found before applying the matrix tranlation.</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>