From 0238fe2cafea2e1ed19bb222117bd73ee6898d4d Mon Sep 17 00:00:00 2001 From: Karl Tomlinson Date: Thu, 14 May 2009 11:46:29 +0100 Subject: [ft] Resolve mutual referencing problems with zombie faces Bug 21706 -- zombie ft_font_face / ft_unscaled_font mutual referencing problems [http://bugs.freedesktop.org/show_bug.cgi?id=21706] There can be more than one zombie font_face belonging to an unscaled_font, but only the first is destroyed. This leaks the client's FT_Face (and associated font data) as release of the FT_Face depends on release of the font_face. (The reason why Firefox ends up with two different font_faces for one unscaled_font is that load_flags for faces with artificial oblique have FT_LOAD_NO_BITMAP set. https://bugzilla.mozilla.org/show_bug.cgi?id=486974) Also it's possible for _cairo_ft_font_face_create to pull out a zombie font_face from the unscaled_font, which would crash _cairo_ft_font_face_scaled_font_create, as that expects non-null font_face->unscaled (if !font-face->pattern). --- AUTHORS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AUTHORS') diff --git a/AUTHORS b/AUTHORS index 289fecbae..8c061743b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -86,7 +86,7 @@ Travis Spencer XCB backend fix Bill Spitzak Build fix to find Xrender.h without xrender.pc Zhe Su Add support for fontconfig's embeddedbitmap option Owen Taylor Font rewrite, documentation, win32 backend -Karl Tomlinson +Karl Tomlinson Optimisation and obscure bug fixes (mozilla) Alp Toker Fix several code/comment typos Malcolm Tredinnick Documentation fixes David Turner Optimize gradient calculations -- cgit v1.2.1