[cairo] [PATCH] gl: Fix bug in render_glyphs_via_mask().
strgnm at gmail.com
Tue Jun 26 01:06:00 PDT 2012
agree with you.
I saw the patch you committed:
Just a slight modification is needed, I think:
The dst_x and dst_y should be considered when
trimming the mask.
2012/6/20 Chris Wilson <chris at chris-wilson.co.uk>
> On Wed, 20 Jun 2012 04:04:43 +0800, Chuanbo Weng <strgnm at gmail.com> wrote:
> > If the operator is unbounded and mask is not large enough, the area
> > affected by _cairo_surface_mask() in render_glyphs_via_mask() will
> > be too larger, then result in output error. Fixes overlapping-glyphs
> > and unbounded-operator test cases in cairo-test-suite.
> Whoops, the error here is that we have begun to pass in a NULL clip to
> _cairo_surface_mask(), which as you can see has the effecting of
> clearing everything outside of the masked region.
> Chris Wilson, Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo