From 9db936ac26ae1cca325e0158e33fa7f0fff8eb7e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 13 Jul 2013 08:30:27 -0400 Subject: Don't call pango_ft2* functions on windows --- gtk2_ardour/utils.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc index eb3f4ab55d..66f87abd9c 100644 --- a/gtk2_ardour/utils.cc +++ b/gtk2_ardour/utils.cc @@ -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 */ -- cgit v1.2.3