From 637a54599951fecb5cefd9788fe3d87a8a25a2fb Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 16 Oct 2008 11:29:37 +0000 Subject: [PATCH] Add a belt-n-braces fix for the problem I'm not seeing, since I seem to be getting reasonable fonts --- plugin/gd/gvtextlayout_gd.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.40.0