[cairo] ScaledFont::get_font_face() bug? (cairomm)

Ian Britten britten at caris.com
Fri Dec 5 06:42:08 PST 2008

Hi all,
I'm wondering if someone could take a look at the implementation
of ScaledFont::get_font_face()?  I'm wondering if that 'true'
that is being passed to the FontFace constructor should maybe be
a 'false'?

I'll skip all the gory details, but I'm getting an assertion
that seems to indicate a face is being released too many times
(I think...).
     cairo-font-face.c:191: cairo_font_face_destroy: Assertion
         `((*&(&font_face->ref_count)->ref_count) > 0)' failed

[ FWIW, I tried changing it to 'false' in the debugger and my
problem went away, but that may not prove anything... ]


More information about the cairo mailing list