summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-11-01 15:02:17 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-11-01 15:02:17 +0000
commit2a5e8f4b90bee534e14a60a9f485dad7719c84a0 (patch)
treebbe6e2b5308480ae7f469824c19d011f242d4152 /pango
parent0d4fc337ced4c1884f34c2723f36c0efe9f61c42 (diff)
downloadpango-2a5e8f4b90bee534e14a60a9f485dad7719c84a0.tar.gz
Switch over to recommended Freetype system of include ft2build.h then
Sat Nov 1 09:32:15 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-ot.h pango/pangofc-font.h modules/indic/indic-ot.h pango/pangoft2.c pango/opentype/pango-ot-info.c pango/opentype/pango-ot-ruleset.c pango/opentype/ottest.c pango/opentype/ftxopen.[ch] pango/opentype/ftxgdef.c pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c: Switch over to recommended Freetype system of include ft2build.h then #include FT_FREETYPE_H. Fixes ftmodule.h problem with current Freetype CVS. (#125548)
Diffstat (limited to 'pango')
-rw-r--r--pango/opentype/ftxgdef.c14
-rw-r--r--pango/opentype/ftxgpos.c17
-rw-r--r--pango/opentype/ftxgsub.c13
-rw-r--r--pango/opentype/ftxopen.c10
-rw-r--r--pango/opentype/ftxopen.h3
-rw-r--r--pango/opentype/ottest.c1
-rw-r--r--pango/opentype/pango-ot-info.c4
-rw-r--r--pango/opentype/pango-ot-private.h2
-rw-r--r--pango/opentype/pango-ot-ruleset.c4
-rw-r--r--pango/pango-ot.h3
-rw-r--r--pango/pangofc-font.h3
-rw-r--r--pango/pangoft2.c2
12 files changed, 36 insertions, 40 deletions
diff --git a/pango/opentype/ftxgdef.c b/pango/opentype/ftxgdef.c
index c1d5b797..d1cbda1e 100644
--- a/pango/opentype/ftxgdef.c
+++ b/pango/opentype/ftxgdef.c
@@ -15,16 +15,16 @@
*
******************************************************************/
-#include <freetype/tttags.h>
-
-#include <freetype/internal/ftstream.h>
-#include <freetype/internal/ftmemory.h>
-#include <freetype/internal/tttypes.h>
+#include "ftxopen.h"
+#include "ftxopenf.h"
#include "fterrcompat.h"
-#include "ftxopen.h"
-#include "ftxopenf.h"
+#include FT_TRUETYPE_TAGS_H
+
+#include FT_INTERNAL_STREAM_H
+#include FT_INTERNAL_MEMORY_H
+#include FT_INTERNAL_TRUETYPE_TYPES_H
#define TTAG_GDEF FT_MAKE_TAG( 'G', 'D', 'E', 'F' )
diff --git a/pango/opentype/ftxgpos.c b/pango/opentype/ftxgpos.c
index deebe89e..8d9a7d48 100644
--- a/pango/opentype/ftxgpos.c
+++ b/pango/opentype/ftxgpos.c
@@ -21,19 +21,18 @@
sharing as much as possible with extensive use of macros. This
is something for a volunteer :-) */
-#define TTAG_GPOS FT_MAKE_TAG( 'G', 'P', 'O', 'S' )
-
-#include <freetype/tttags.h>
-
-#include <freetype/internal/ftstream.h>
-#include <freetype/internal/ftmemory.h>
-#include <freetype/internal/tttypes.h>
+#include "ftxopen.h"
+#include "ftxopenf.h"
#include "fterrcompat.h"
-#include "ftxopen.h"
-#include "ftxopenf.h"
+#include FT_TRUETYPE_TAGS_H
+#include FT_INTERNAL_STREAM_H
+#include FT_INTERNAL_MEMORY_H
+#include FT_INTERNAL_TRUETYPE_TYPES_H
+
+#define TTAG_GPOS FT_MAKE_TAG( 'G', 'P', 'O', 'S' )
struct GPOS_Instance_
{
diff --git a/pango/opentype/ftxgsub.c b/pango/opentype/ftxgsub.c
index d9a77d63..96aaffa2 100644
--- a/pango/opentype/ftxgsub.c
+++ b/pango/opentype/ftxgsub.c
@@ -23,17 +23,16 @@
#define EXPORT_FUNC
-#include <freetype/tttags.h>
-
-#include <freetype/internal/ftstream.h>
-#include <freetype/internal/ftmemory.h>
-#include <freetype/internal/tttypes.h>
+#include "ftxopen.h"
+#include "ftxopenf.h"
#include "fterrcompat.h"
-#include "ftxopen.h"
-#include "ftxopenf.h"
+#include FT_TRUETYPE_TAGS_H
+#include FT_INTERNAL_STREAM_H
+#include FT_INTERNAL_MEMORY_H
+#include FT_INTERNAL_TRUETYPE_TYPES_H
#define GSUB_ID Build_Extension_ID( 'G', 'S', 'U', 'B' )
diff --git a/pango/opentype/ftxopen.c b/pango/opentype/ftxopen.c
index c9ac6603..2325f6a2 100644
--- a/pango/opentype/ftxopen.c
+++ b/pango/opentype/ftxopen.c
@@ -15,14 +15,14 @@
*
******************************************************************/
-#include <freetype/internal/ftstream.h>
-#include <freetype/internal/ftmemory.h>
-#include <freetype/internal/tttypes.h>
+#include "ftxopen.h"
+#include "ftxopenf.h"
#include "fterrcompat.h"
-#include "ftxopen.h"
-#include "ftxopenf.h"
+#include FT_INTERNAL_STREAM_H
+#include FT_INTERNAL_MEMORY_H
+#include FT_INTERNAL_TRUETYPE_TYPES_H
/***************************
diff --git a/pango/opentype/ftxopen.h b/pango/opentype/ftxopen.h
index 84c85e76..6788dec5 100644
--- a/pango/opentype/ftxopen.h
+++ b/pango/opentype/ftxopen.h
@@ -22,7 +22,8 @@
#ifndef FTXOPEN_H
#define FTXOPEN_H
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
#ifdef __cplusplus
extern "C" {
diff --git a/pango/opentype/ottest.c b/pango/opentype/ottest.c
index 4bc1a8e5..b70f9118 100644
--- a/pango/opentype/ottest.c
+++ b/pango/opentype/ottest.c
@@ -23,7 +23,6 @@
#include <stdlib.h>
#include "ftxopen.h"
-#include <freetype/internal/ftmemory.h>
#include "disasm.h"
diff --git a/pango/opentype/pango-ot-info.c b/pango/opentype/pango-ot-info.c
index 8827e657..9a875459 100644
--- a/pango/opentype/pango-ot-info.c
+++ b/pango/opentype/pango-ot-info.c
@@ -21,8 +21,8 @@
#include "pango-ot-private.h"
#include "fterrcompat.h"
-#include <freetype/internal/ftobjs.h>
-#include <freetype/ftmodule.h>
+#include FT_INTERNAL_OBJECTS_H
+#include FT_MODULE_H
static void pango_ot_info_class_init (GObjectClass *object_class);
static void pango_ot_info_finalize (GObject *object);
diff --git a/pango/opentype/pango-ot-private.h b/pango/opentype/pango-ot-private.h
index 782a7dde..5c27f3a5 100644
--- a/pango/opentype/pango-ot-private.h
+++ b/pango/opentype/pango-ot-private.h
@@ -22,8 +22,6 @@
#ifndef __PANGO_OT_PRIVATE_H__
#define __PANGO_OT_PRIVATE_H__
-#include <freetype/freetype.h>
-
#include <glib-object.h>
#include <pango/pango-ot.h>
diff --git a/pango/opentype/pango-ot-ruleset.c b/pango/opentype/pango-ot-ruleset.c
index 756d0214..996bd041 100644
--- a/pango/opentype/pango-ot-ruleset.c
+++ b/pango/opentype/pango-ot-ruleset.c
@@ -19,11 +19,11 @@
* Boston, MA 02111-1307, USA.
*/
-#include <freetype/internal/ftmemory.h>
-
#include <pango/pango-ot.h>
#include "pango-ot-private.h"
+#include FT_INTERNAL_MEMORY_H /* For FT_Free() */
+
#define PANGO_SCALE_26_6 (PANGO_SCALE / (1<<6))
#define PANGO_UNITS_26_6(d) (PANGO_SCALE_26_6 * (d))
diff --git a/pango/pango-ot.h b/pango/pango-ot.h
index c2dabf01..093f2282 100644
--- a/pango/pango-ot.h
+++ b/pango/pango-ot.h
@@ -22,7 +22,8 @@
#ifndef __PANGO_OT_H__
#define __PANGO_OT_H__
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
#include <pango/pango-glyph.h>
G_BEGIN_DECLS
diff --git a/pango/pangofc-font.h b/pango/pangofc-font.h
index 315abd2e..c10605cf 100644
--- a/pango/pangofc-font.h
+++ b/pango/pangofc-font.h
@@ -22,7 +22,8 @@
#ifndef __PANGO_FC_FONT_H__
#define __PANGO_FC_FONT_H__
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
#include <fontconfig/fontconfig.h>
#include <pango/pango-font.h>
#include <pango/pango-fontmap.h>
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index 6c42b3c4..e1a7306f 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -28,8 +28,6 @@
#include <glib.h>
#include <glib/gprintf.h>
-#include <freetype/freetype.h>
-
#include "pangoft2.h"
#include "pangoft2-private.h"
#include "pangofc-fontmap.h"