Re: cairo_font_face_t not freeing

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Geek Central
Message-ID <[email protected]>
On Tue, 2 May 2017 20:46:53 -0400, Louis M wrote:

> Ok, just to be sure, I tried the the "cairo_font_face_set_user_data"
> functionality that can set a destructor to the font face. Here the
> code:
> 
> ...
>     cairo_font_face_t * font_face = cairo_toy_font_face_create("",
>                             CAIRO_FONT_SLANT_NORMAL,
>                             CAIRO_FONT_WEIGHT_NORMAL);
> ...
> 
> The "font_destroy" is never launch. But if I put two
> "cairo_font_face_destroy" instead of one, I see the "Font face freed"
> message.

Just to be sure, can you check it with a nonempty font spec? Because
the empty font spec represents the default font, which might be a
special case.

> Do you think that I should fill a bug report.

I’m hoping somebody who knows more about the insides of Cairo will
chime in at this point. :)
-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.