Freetype module probably needs update to support Freetype 2.1.
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3539
Reported by @grubba
From the Freetype developer list:
From: Werner LEMBERG <wl@gnu.org>
Sender: "devel-admin@freetype.org" <devel-admin@freetype.org>
To: "devel@freetype.org" <devel@freetype.org>,
"ismail.donmez@boun.edu.tr" <ismail.donmez@boun.edu.tr>
Date: Sun, 09 Nov 2003 06:54:31 +0100 (CET)
Subject: Re: [Devel] Question on correct usage of freetype2
Reply-To: "devel@freetype.org" <devel@freetype.org>
> Looks like a code like :
>
> #include <freetype/freetype.h>
>
> int main() {
> ;
> return 0;
> }
>
> no longer compiles with freetype cvs.
Correct.
> And suggested fix is :
>
> #include <ft2build.h>
> #include FT_FREETYPE_H
>
> int main() {
> ;
> return 0;
> }
Correct.
My question is will the second code work on older Freetype 2.x releases?
Yes. It should work at least since 2.0.2 which has been released two and a half years ago. Time enough for a transition, isn't it?
And second question is was this change necessary as many projects use freetype as in first code ( MPlayer,Qt etc ). ?
The change was necessary since a public header file has been renamed (to allow flat compilation). Additionally, we have already announced a long time that the old scheme won't work with the 2.1 series.
Werner