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. HTH