[cairo-bugs] [Bug 100722] New: The clip out operation does not work properly if the surface is smaller than the path for the clipping.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 19 11:04:39 UTC 2017


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

            Bug ID: 100722
           Summary: The clip out operation does not work properly if the
                    surface is smaller than the path for the clipping.
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: image backend
          Assignee: chris at chris-wilson.co.uk
          Reporter: yoon at igalia.com
        QA Contact: cairo-bugs at cairographics.org

Created attachment 130915
  --> https://bugs.freedesktop.org/attachment.cgi?id=130915&action=edit
Patch includes test cases and expected results

Whenever we are going to draw a text box with decorations, WebKit clips out the 
in side of the text box to prevent bleeding while filling patterns.

However, Cairo doesn't apply clips properly if the follwing conditions are
satisfied:

(1) Creates and apply a path for the clipping out which is not rectanglar.
(2) Creates and apply a path for the cliping in after the clip out operation.
(3) The filling area of the clipping out and the filling area of the clipping
in
does not intersect on the target surface.

I attached test cases for this bug and expected results.

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


More information about the cairo-bugs mailing list