diff -ruN gd-2.0.23/gdft.c gd-2.0.23-patched/gdft.c --- gd-2.0.23/gdft.c Tue Apr 20 09:13:18 2004 +++ gd-2.0.23-patched/gdft.c Fri May 21 13:54:06 2004 @@ -1070,7 +1070,9 @@ } /* EAM DEBUG */ -#if (defined(FREETYPE_MAJOR) && (FREETYPE_MAJOR >=2 ) && (FREETYPE_MINOR >= 1)) +/* TBB: get this exactly right: 2.1.3 *or better*, all possible cases. */ + +#if ((defined(FREETYPE_MAJOR)) && (((FREETYPE_MAJOR == 2) && (((FREETYPE_MINOR == 1) && (FREETYPE_PATCH >= 3)) || (FREETYPE_MINOR > 1))) || (FREETYPE_MAJOR > 2))) if (font->face->charmap->encoding == FT_ENCODING_MS_SYMBOL) { /* I do not know the significance of the constant 0xf000. */