Subject: Xft and freetype2
To: None <tech-x11@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: tech-x11
Date: 02/21/2004 00:11:24
I just found that I needed the following. (I don't know from what point
in freetype's evolution this works...)

Cheers,

Patrick

Index: Xft.h
===================================================================
RCS file: /cvsroot/xsrc/xfree/xc/lib/Xft/Xft.h,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 Xft.h
--- Xft.h	2003/02/28 13:18:51	1.1.1.4
+++ Xft.h	2004/02/21 00:08:18
@@ -32,7 +32,8 @@
 #define XftVersion	XFT_VERSION
 
 #include <stdarg.h>
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
 #include <fontconfig/fontconfig.h>
 #include <X11/extensions/Xrender.h>