]> git.wh0rd.org Git - fontconfig.git/commitdiff
Switch to FreeType 2.1.7 style includes. Bug #150.
authorKeith Packard <keithp@keithp.com>
Tue, 18 Nov 2003 07:53:04 +0000 (07:53 +0000)
committerKeith Packard <keithp@keithp.com>
Tue, 18 Nov 2003 07:53:04 +0000 (07:53 +0000)
reviewed by: Keith Packard <keithp@keithp.com>

ChangeLog
doc/Makefile.am
fontconfig/fcfreetype.h
src/fcfreetype.c

index f4dea62295816045ddf7a917cf07c2764ff1f210..545f75825f5e77502b958909979ef5fe7e99e378 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2003-11-17   Eric Christopherson  <rakko@charter.net>
+
+       reviewed by: Keith Packard  <keithp@keithp.com>
+
+       * doc/Makefile.am:
+       * fontconfig/fcfreetype.h:
+       * src/fcfreetype.c:
+       Switch to FreeType 2.1.7 style includes.  Bug #150.
+
 2003-11-16  Noah Levitt  <nlevitt@columbia.edu>
 
        * fc-list/fc-list.sgml: Add some example usages.
index 793ae4fc7db5da14510c7dfb67d3c66a8f58b5ef..9e9cbeb8aad622e0380b93acb7d53523c96d6e24 100644 (file)
@@ -134,6 +134,7 @@ fontconfig-user.html: local-fontconfig-user.sgml version.sgml confdir.sgml
        $(DOC2HTML) -u local-fontconfig-user.sgml > $@.tmp
        -test -f local-$@ && mv local-$@ $@
        -test -f $@ || mv $@.tmp $@
+       -test -f $@.tmp && $(RM) $@.tmp
 
 fontconfig-user.txt: local-fontconfig-user.sgml version.sgml confdir.sgml
        $(RM) $@
index 479096f7e82701f9a465828bde0099a64dc5eb9d..20241dc2ead80e22dbd84311bf0cc942bfdd9b28 100644 (file)
@@ -24,7 +24,8 @@
 
 #ifndef _FCFREETYPE_H_
 #define _FCFREETYPE_H_
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
 
 _FCFUNCPROTOBEGIN
 
index 054e208ae191a4ed534971867b353b0b8cf1c33b..4feb37d3f3ed31a18aed1c6fd553c56ec6a71950 100644 (file)
 #include <stdio.h>
 #include <string.h>
 #include "fcint.h"
-#include <freetype/freetype.h>
-#include <freetype/internal/ftobjs.h>
-#include <freetype/tttables.h>
-#include <freetype/ftsnames.h>
-#include <freetype/ttnameid.h>
-#include <freetype/t1tables.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include FT_INTERNAL_OBJECTS_H
+#include FT_TRUETYPE_TABLES_H
+#include FT_SFNT_NAMES_H
+#include FT_TRUETYPE_IDS_H
+#include FT_TYPE1_TABLES_H
 
 #if HAVE_FT_GET_BDF_PROPERTY
-#include <freetype/ftbdf.h>
-#include <freetype/ftmodule.h>
+#include FT_BDF_H
+#include FT_MODULE_H
 #define HAS_BDF_PROPERTY(f) ((f) && (f)->driver && \
                             (f)->driver->root.clazz->get_interface)
 #define MY_Get_BDF_Property(f,n,p) (HAS_BDF_PROPERTY(f) ? \