[cairo-bugs] [Bug 28145] cairo_font_face_finish()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 17 11:52:03 PDT 2010


--- Comment #3 from Chris Wilson <chris at chris-wilson.co.uk> 2010-05-17 11:52:02 PDT ---
In this particular case, yes, it would eliminate the problem if FT_Face was
refcounted. However, the other objects that cairo implements such as cairo_t
and cairo_surface_t, do provide a cairo_*_finish() function so that the user
can dispose of any internal references to the object prior to destroying the
underlying resource. I feel we should be consistent in our API and implement
finish() for all objects, which would not only provide a means to workaround
FT_Face, but also similar issues that may arise with other font backends - such
as user fonts.

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the cairo-bugs mailing list