Hello there, because I'm using an newer version of freetype2, I use this patch to compile font_freetype.c, than I add -DFREETYPE_VERSION=20312 to the CFLAGS in Makefile.config
What do developers think about it? How would you do it, is this good enough to merge it into the trunk? Greets, Ole
--- framebuffer/font_freetype.c.orig Sat Jun 19 00:28:10 2010 +++ framebuffer/font_freetype.c Wed Jun 30 19:36:10 2010 @@ -20,7 +20,12 @@ #include <inttypes.h> #include <assert.h> +#if !defined(FREETYPE_VERSION) || FREETYPE_VERSION<20106 #include <freetype/ftcache.h> +#else +#include <ft2build.h> +#include FT_CACHE_H +#endif #include "css/css.h" #include "render/font.h"
