Hi, On Fri, 2004-07-09 at 03:48, Haran Shivanan wrote: > On Thu, 8 Jul 2004, Luca Padovani wrote: > > > Gdk-CRITICAL **: file gdkdrawable-x11.c: line 798 (gdk_x11_draw_glyphs): > > assertion `PANGO_XFT_IS_FONT (font)' failed > > pango_font_map_load_font > > Are you loading the font from a FT Fontmap? > How are you getting the fontmap? > Are you using pango_ft2_font_map_for_display? I'm doing something like this Display* display = gdk_x11_get_default_xdisplay(); PangoFont* font = pango_font_map_load_font(pango_x_font_map_for_display(display), pango_x_get_context(display), desc); const gboolean res = pango_x_find_first_subfont(font, &charset, 1, &subfont); As you can see I'm trying to use as much of the default data structures as possible, maybe that's the problem? Cheers, --luca
Attachment:
signature.asc
Description: This is a digitally signed message part