|
From: Ethan M. <merritt@u.washington.edu> - 2009-11-05 19:12:23
|
On Thursday 05 November 2009 10:57:59 Allin Cottrell wrote: > Attached: request that pango/cairo use its FreeType + fontconfig > backend when operating on MS Windows. > > Note: the patch doesn't seem to do any harm on Linux, but perhaps > should be made conditional on compilation for Windows. Doesn't build for me under linux: wxterminal/gp_cairo.c: In function ‘gp_cairo_create_layout’: wxterminal/gp_cairo.c:705: warning: implicit declaration of function ‘pango_font_map_create_context’ wxterminal/gp_cairo.c:705: warning: assignment makes pointer from integer without a cast gp_cairo.o: In function `gp_cairo_create_layout': /home/merritt/cvs/gnuplot-cvs/src/wxterminal/gp_cairo.c:705: undefined reference to `pango_font_map_create_context' collect2: ld returned 1 exit status make[1]: *** [gnuplot] Error 1 make[1]: Leaving directory `/home/merritt/cvs/gnuplot-cvs/src' make: *** [all-recursive] Error 1 So yes, we'll have to wrap it in a conditional. Or maybe we should test for the presence of pango_font_map_create_context() in the ./configure script? -- Ethan A Merritt |