[cairo] font lifetime
Alexander Larsson
alexl at redhat.com
Wed Jan 26 05:48:38 PST 2005
On Wed, 2005-01-26 at 08:24 -0500, Owen Taylor wrote:
> On Wed, 2005-01-26 at 12:47 +0100, Alexander Larsson wrote:
> > I'm making xpdf work with the new font changes, and I have a question.
> >
> > If i call cairo_ft_font_create_for_ft_face with a FT_Face. How do I know
> > how long i need to keep the FT_Face around? The cairo_font_t object is
> > passed around internally in cairo, and can end up in all sorts of caches
> > and stuff, complicating its lifecycle.
>
> One of the outstanding issues ... see my last long mail on fonts. I want
> to add a destroy notifier, but am getting resistance on the subject.
What is wrong with destroy notifiers? They are very useful.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alla at lysator.liu.se
He's a lounge-singing arachnophobic jungle king plagued by the memory of his
family's brutal murder. She's a green-fingered junkie vampire with the power
to bend men's minds. They fight crime!
More information about the cairo
mailing list