[cairo-bugs] [Bug 38049] Hash table contains zero referenced font faces!

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 20 01:27:39 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=38049

Andrea Canciani <ranma42 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Andrea Canciani <ranma42 at gmail.com> 2011-06-20 01:27:37 PDT ---
It should be fixed in master by:

commit 94bc20da50c5984e5c04929a7fde4c2f04e66380
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Fri Jun 17 19:15:44 2011 +0200

    win32-font: Implement destroy function

    Win32 font faces can be removed from the hashtable upon destruction.
    Based on the toy-font destruction code.

    See https://bugs.freedesktop.org/show_bug.cgi?id=38049

and


commit 101fab7cd8a90f7cf3d8113c792b3f8c2a9afb7d
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Wed Jun 15 11:37:36 2011 +0200

    win32-font: Improve static data reset function

    The hashtable is guaranteed to only contain font faces which are
    currently referenced, hence there is no need to remove any font face
    when it is reset (just like for toy-font).

    This makes the function simpler and fixes the assertion

    Assertion failed: predicate != NULL, file cairo-hash.c, line 373

    hit by multiple tests (the first one being "clear").

    See https://bugs.freedesktop.org/show_bug.cgi?id=38049

-- 
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