[cairo] [PATCH] Fix for _cairo_gstate_transform_glyphs_to_backend droppign characters

Chris Wilson chris at chris-wilson.co.uk
Wed Mar 10 07:16:26 PST 2010


On Wed, 10 Mar 2010 11:20:50 +0100, Christophe de Dinechin <christophe at taodyne.com> wrote:
> If there is no transform applied, then _cairo_gstate_transform_glyphs_to_backend() sets the output num_transformed_glyphs to 0, because it uses the value of j, initialized to 0 around cairo-gstate.c:2129 to overwrite *num_transformed_glyphs around cairo-gstate.c:2276. I noticed that because no characters would show up on the OpenGL back-end if I didn't set a transform matrix.

Wow, that's odd that such a bug should have lain dormant for so long. Thanks!
-ickle

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list