]> granicus.if.org Git - graphviz/commitdiff
Add a belt-n-braces fix for the problem I'm not seeing, since I seem to be getting...
authorellson <devnull@localhost>
Thu, 16 Oct 2008 11:29:37 +0000 (11:29 +0000)
committerellson <devnull@localhost>
Thu, 16 Oct 2008 11:29:37 +0000 (11:29 +0000)
plugin/gd/gvtextlayout_gd.c

index 0db00f545b508bf5323fc973d238ce3c3668e327..33b4658fd8d87c003c91a97cc118c38d56d5a23f 100644 (file)
@@ -136,6 +136,7 @@ static boolean gd_textlayout(textpara_t * para, char **fontpath)
        }
        /* call gdImageStringFT with null *im to get brect and to set font cache */
 #ifdef HAVE_GD_FONTCONFIG
+       gdFTUseFontConfig(1);  /* tell gd that we really want to use fontconfig, 'cos it s not the default */
        if (para->postscript_alias)
            fontlist = psfontResolve (para->postscript_alias);
        else