[cairo] Problem with Pango & Cairo on Win32

Bogdan Nicula bogdanni at hotmail.com
Tue Apr 11 22:22:26 PDT 2006



> > I'm using Pango's rendering with the Cairo backend on Windows and I'm
> > hitting an assertion inside cairo-win32-font.c, line 1096 in
> > _cairo_win32_scaled_font_glyph_init ():
> >
> >     if ((info & CAIRO_SCALED_GLYPH_INFO_SURFACE) != 0) {
> >     ASSERT_NOT_REACHED;
> >     }
> >
> > Is this a known problem or work in progress?

>What surface are you rendering to? Some of the recent reworking
>of the font code paths in Cairo really aren't right for the way that
>the win32 font backend works, and certainly haven't been tested
>there, but I don't see anything offhand that would cause problems
>rendering to the win32 or image surfaces.

The drawing context is acquired from a GdkPixmap with gdk_cairo_create (GTK+ 
2.8.17).

>Can you provide a backtrace?

I will try to come up with a reduced testcase next week.

Thank you,
Bogdan




More information about the cairo mailing list