[cairo] Wrong output from cairo_show_glyphs

Marco Botton marco at balsamiq.com
Fri Jun 6 01:51:58 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.
> HTH
> 

Thank you for the help, but that point seems ok.
I have attached the buggy code to a new reply of my previous message.

Marco



More information about the cairo mailing list