]> granicus.if.org Git - graphviz/commitdiff
a maybe fix..
authorellson <devnull@localhost>
Wed, 24 May 2006 00:37:35 +0000 (00:37 +0000)
committerellson <devnull@localhost>
Wed, 24 May 2006 00:37:35 +0000 (00:37 +0000)
lib/common/gdgen.c

index f68f0678782f81eacb3baa919daab9fce22e1dd9..7dac5d8985c66365b0db11a8013fbb5a4fbfa28e 100644 (file)
@@ -596,6 +596,7 @@ static void gd_textline(point p, textline_t * line)
                    ROUND(ep.x), ROUND(ep.y), cstk[SP].pencolor);
     } else {
 #ifdef HAVE_GD_FREETYPE
+       gdFTUseFontConfig(1); /* use fontconfig if possible */
        err = gdImageStringFTEx(im, brect, pencolor,
                                fontlist, fontsz, Rot ? (PI / 2) : 0,
                                ROUND(mp.x), ROUND(mp.y), str, &strex);