[cairo-bugs] [Bug 91054] New: A certain path is recorded incorrectly with a script surface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 22 02:18:41 PDT 2015


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

            Bug ID: 91054
           Summary: A certain path is recorded incorrectly with a script
                    surface
           Product: cairo
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: filipp at ccpgames.com
        QA Contact: cairo-bugs at cairographics.org

I believe the problem is in _emit_path_boxes function that is supposed to
return a status of operation, but has the following piece of code:
    if (! _cairo_path_fixed_iter_at_end (&iter)) {
    _cairo_boxes_fini (&boxes);
    return FALSE;
    }
When this return is hit, the caller assumes _emit_path_boxes succeeds and the
path is recorded incorrectly as an empty rectangle list. This can be reproduced
by recording a path 37.1,34 28,34 28,106.4 85.9,106.4 85.9,34 37.1,34.

-- 
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/20150622/d6a85d8e/attachment.html>


More information about the cairo-bugs mailing list