From: ellson Date: Thu, 16 Oct 2008 11:29:37 +0000 (+0000) Subject: Add a belt-n-braces fix for the problem I'm not seeing, since I seem to be getting... X-Git-Tag: LAST_LIBGRAPH~32^2~3095 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=637a54599951fecb5cefd9788fe3d87a8a25a2fb;p=graphviz Add a belt-n-braces fix for the problem I'm not seeing, since I seem to be getting reasonable fonts --- diff --git a/plugin/gd/gvtextlayout_gd.c b/plugin/gd/gvtextlayout_gd.c index 0db00f545..33b4658fd 100644 --- a/plugin/gd/gvtextlayout_gd.c +++ b/plugin/gd/gvtextlayout_gd.c @@ -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