Patches for framebuffer/font_freetype.c
ole at monochrom.net
Wed Jun 30 21:29:05 BST 2010
Am Mittwoch, den 30.06.2010, 22:13 +0200 schrieb John-Mark Bell
<jmb at 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.
> In this case, even this is unnecessary. The correct fix is to include
> the freetype headers in the way expected by freetype. This is what I
> have done in r10591.
More information about the netsurf-dev