[cairo] [PATCH] Fix for _cairo_gstate_transform_glyphs_to_backend droppign characters

Christophe de Dinechin christophe at taodyne.com
Wed Mar 10 02:20:50 PST 2010


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.

Fix attached.

Christophe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-bug-with-count-of-transformed-glyphs-when-there-.patch
Type: application/octet-stream
Size: 795 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100310/cc22f209/attachment.obj>


More information about the cairo mailing list