how to clear the freetype face cache?
Cosmin Apreutesei <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAKJdRan_-7+21PgCqg_y6bGtSmvfErTT=SwnN_QcDv0j89za0A@mail.gmail.com> |
Hi, When my app closes I need to FT_Done_Face on all used faces so I can FT_Done_Freetype, otherwise I get a crash. But cairo still holds multiple references to each cairo_font_face_t created with cairo_ft_font_face_create_for_ft_face (one for every seleted size as I can see) and the doc says I shouldn't FT_Done_Face until those references are gone. So my question is: is there any way to tell cairo to clear its font cache and release those cairo_font_face_t objects? Thanks, Cosmin. -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo