gentoo has fontconfig option for gd but it does not work due a bug that has been known for a year or two. here's the fix, suggest it is included in portage. --- gd-2.0.36/gdft.c 2008-03-09 16:05:52.000000000 -0700 +++ gd-2.0.36-mod/gdft.c 2009-05-20 20:22:13.000000000 -0700 @@ -1661,7 +1661,7 @@ static char * font_path(char **fontpath, BGD_DECLARE(int) gdFTUseFontConfig(int flag) { #ifdef HAVE_LIBFONTCONFIG - fontConfigFlag = 1; + fontConfigFlag = flag; return 1; #else return 0;
Got an upstream link?
yeah, you need to provide real details
Well, not my bug, but: the commit: https://bitbucket.org/pierrejoye/gd-libgd/changeset/3ea283efcdaf Though I'm not sure if that's the proper upstream. OTOH, I can't google anything better.
yes, that is the official upstream repo. so urls to that are sufficient. ive added that patch to gd-2.0.35-r3 ... thanks !
Thanks for spanking this bug. ;)