]> granicus.if.org Git - graphviz/commitdiff
need to test if pango was built with fonconfig, not just that fonconfig is present
authorellson <devnull@localhost>
Wed, 12 Mar 2008 18:52:32 +0000 (18:52 +0000)
committerellson <devnull@localhost>
Wed, 12 Mar 2008 18:52:32 +0000 (18:52 +0000)
plugin/pango/gvtextlayout_pango.c

index f0d5e5091e334c34f1bf9feb8fa90de41b637fc2..620722a200e237784c7a12e37cbaf35122683cf7 100644 (file)
@@ -93,7 +93,7 @@ static boolean pango_textlayout(textpara_t * para, char **fontpath)
            buf[0] = '\0';
            if (psfnt)
                strcat(buf, "(ps) ");
-#ifdef HAVE_FONTCONFIG
+#ifdef PANGO_TYPE_FC_FONT
            {
                FT_Face face;
                PangoFcFont *fcfont;