[cairo] font lifetime

Owen Taylor otaylor at redhat.com
Wed Jan 26 05:24:24 PST 2005


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.

It's documented right now (yes, documented :) as "forever".

Regards,
					Owen


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050126/038a90d2/attachment.pgp


More information about the cairo mailing list