Don't call pango_ft2* functions on windows
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 13 Jul 2013 12:30:27 +0000 (08:30 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sat, 13 Jul 2013 12:30:27 +0000 (08:30 -0400)
gtk2_ardour/utils.cc

index eb3f4ab55d6168956f265c2f5820e8112af18c1d..66f87abd9ce395bba9c2e3cb28710647982d5362 100644 (file)
@@ -707,7 +707,9 @@ set_pango_fontsize ()
 
        /* FT2 rendering - used by GnomeCanvas, sigh */
 
+#ifndef WIN32
        pango_ft2_font_map_set_resolution ((PangoFT2FontMap*) pango_ft2_font_map_new(), val/1024, val/1024);
+#endif
 
        /* Cairo rendering, in case there is any */