[cairo] [PATCH] gl: Fix bug in render_glyphs_via_mask().
chris at chris-wilson.co.uk
Wed Jun 20 01:20:40 PDT 2012
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
More information about the cairo