[cairo] Wrong output from cairo_show_glyphs

Cedric Roux sed at free.fr
Fri Jun 6 01:19:26 PDT 2014

On 06/06/2014 09:49 AM, Marco Botton wrote:
> 9.    malloc an array of cairo_glyphs and set glyphs positions

Maybe triple-check this one. You should do malloc(nb_elems * sizeof(XX))
or something similar. I often forget the sizeof thing.

More information about the cairo mailing list