Re: Wrong output from cairo_show_glyphs
Marco Botton <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
> 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 -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo