|
From: Allin C. <cot...@wf...> - 2009-11-05 21:36:23
|
On Thu, 5 Nov 2009, Ethan Merritt wrote: > On Thursday 05 November 2009 12:21:24 Ethan Merritt wrote: > > #if PANGO_VERSION_MAJOR > 1 || PANGO_VERSION_MINOR >= 22 > > context = pango_font_map_create_context(fontmap); > > #else > > context = pango_cairo_font_map_create_context(fontmap); > > #endif > > > > Sigh. That doesn't work either: > > wxterminal/gp_cairo.c: In function ‘gp_cairo_create_layout’: > wxterminal/gp_cairo.c:708: warning: passing argument 1 of ‘pango_cairo_font_map_create_context’ from incompatible pointer type Urgh. That function wants a pointer to PangoCairoFontMap, not to PangoFontMap. > We need a better handle on what versions and configurations this > alternate code works on. Yes, I can work on that if you like. What's the pango version on your system, BTW? Allin Cottrell |