Comment 6 for bug 176944

Revision history for this message
Albin Sunnanbo (albin-sunnanbo) wrote :

I have some problems debugging, gdb hangs when I open the print dialog. But some g_printf reveals that the line
PangoFcFont *fc_font = PANGO_FC_FONT(font);
(cairo-render-context.cpp:1424)
prints the "invalid cast from `PangoWin32Font' to `PangoFcFont'"-message
The execution continues until the line
cairo_font_face_t *font_face = cairo_ft_font_face_create_for_pattern(fc_pattern);
I have checked that fc_pattern != NULL, so I guess it is something internal in the Pango library.

I'm compiling against devlibs-2.12-080303, which I suppose is the most current.

I have also checked a simple drawing with only some text on results in the same error, so it's a general font printing issue and not related to the content of the above drawing.