On Wed, 2010-06-30 at 22:29 +0200, m0n0 wrote:
Am Mittwoch, den 30.06.2010, 22:13 +0200 schrieb John-Mark Bell
<jmb(a)netsurf-browser.org>:
> No, this is not the correct approach. If you need to detect the version
> of freetype in use, include FT_FREETYPE_H and conditionalise on the
> values of FREETYPE_MAJOR, FREETYPE_MINOR, and FREETYPE_PATCH.
I believed including ft2build.h is only okay for newer versions of
freetype and I didn't wanted to break compatibility with the old versions.
We were already including ft2build.h from font_freetype.h. Therefore,
it's perfectly fine to use that mechanism in font_freetype.c, too. I
don't think we've ever supported a version of freetype that pre-dates
the introduction of ft2build.h.
J.