[cairo] [PATCH 0/4] Several bug fixes related to clipping and unbounded ops

Taekyun Kim podain77 at gmail.com
Tue Jul 5 00:17:43 PDT 2011


Hi all,

Current snapshot of master branch gives me some unexpected results with 
image backend. It was reported by our webkit cairo port tester. Instead 
of posting recorded traces of web pages, I've made some simplified test 
codes demonstrating the bugs.

I attached 4 test codes.

1. unbounded_boxes_bug.c
     - _cairo_image_surface_fixup_unbounded_boxes() bug for zero or 
single box cases
2. unaligned_unbounded_bug.c
     - Unbounded fixup of unaligned boxes is not handled correctly
     - I think correct result image should have transparent 1 pixel margin
3. paint_bug.c
     - Error when reducing paint to a fill
4. clip_bug.c
     - Demonstration of 
http://lists.cairographics.org/archives/cairo/2011-June/022073.html

And I send patches for these problems as well.
Please review and apply them.

Thanks.

--
Best Regards,
Taekyun Kim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unbounded_boxes_bug.c
Type: text/x-csrc
Size: 791 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110705/0052f352/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unaligned_unbounded_bug.c
Type: text/x-csrc
Size: 712 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110705/0052f352/attachment-0001.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paint_bug.c
Type: text/x-csrc
Size: 1643 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110705/0052f352/attachment-0002.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clip_bug.c
Type: text/x-csrc
Size: 1669 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110705/0052f352/attachment-0003.c>


More information about the cairo mailing list