aboutsummaryrefslogtreecommitdiffstats
path: root/pango/pango-1.2.5/ft2.patch
blob: 5015c8b132576a9e6a5b90469aa7d91dfebdaab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
--- pango-1.2.5/modules/indic/indic-ot.h	Fri Aug  8 12:05:01 2003
+++ pango-1.2.5-new/modules/indic/indic-ot.h	Thu Dec 18 14:38:44 2003
@@ -9,7 +9,8 @@
 #ifndef __INDIC_OT_H__
 #define __INDIC_OT_H__
 
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
 #include <pango/pango-glyph.h>
 #include <pango/pango-types.h>
 #include "mprefixups.h"
--- pango-1.2.5/pango/opentype/ftxopen.h	Fri Aug  8 12:05:10 2003
+++ pango-1.2.5-new/pango/opentype/ftxopen.h	Thu Dec 18 14:38:41 2003
@@ -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" {
--- pango-1.2.5/pango/opentype/pango-ot-info.c	Wed Apr 16 16:48:20 2003
+++ pango-1.2.5-new/pango/opentype/pango-ot-info.c	Thu Dec 18 13:48:40 2003
@@ -21,8 +21,9 @@
 
 #include "pango-ot-private.h"
 #include "fterrcompat.h"
+
 #include <freetype/internal/ftobjs.h>
-#include <freetype/ftmodule.h>
+//#include <freetype/config/ftmodule.h>
 
 static void pango_ot_info_class_init (GObjectClass *object_class);
 static void pango_ot_info_finalize   (GObject *object);
--- pango-1.2.5/pango/opentype/pango-ot-private.h	Tue Dec 19 22:41:36 2000
+++ pango-1.2.5-new/pango/opentype/pango-ot-private.h	Wed Dec 17 20:53:02 2003
@@ -22,7 +22,8 @@
 #ifndef __PANGO_OT_PRIVATE_H__
 #define __PANGO_OT_PRIVATE_H__
 
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
 
 #include <glib-object.h>
 
--- pango-1.2.5/pango/pango-enum-types.c	Thu Jul 24 14:12:13 2003
+++ pango-1.2.5-new/pango/pango-enum-types.c	Wed Dec 31 18:00:00 1969
@@ -1,236 +0,0 @@
-
-/* Generated data (by glib-mkenums) */
-
-#include <pango.h>
-
-/* enumerations from "pango-attributes.h" */
-GType
-pango_attr_type_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0) {
-    static const GEnumValue values[] = {
-      { PANGO_ATTR_INVALID, "PANGO_ATTR_INVALID", "invalid" },
-      { PANGO_ATTR_LANGUAGE, "PANGO_ATTR_LANGUAGE", "language" },
-      { PANGO_ATTR_FAMILY, "PANGO_ATTR_FAMILY", "family" },
-      { PANGO_ATTR_STYLE, "PANGO_ATTR_STYLE", "style" },
-      { PANGO_ATTR_WEIGHT, "PANGO_ATTR_WEIGHT", "weight" },
-      { PANGO_ATTR_VARIANT, "PANGO_ATTR_VARIANT", "variant" },
-      { PANGO_ATTR_STRETCH, "PANGO_ATTR_STRETCH", "stretch" },
-      { PANGO_ATTR_SIZE, "PANGO_ATTR_SIZE", "size" },
-      { PANGO_ATTR_FONT_DESC, "PANGO_ATTR_FONT_DESC", "font-desc" },
-      { PANGO_ATTR_FOREGROUND, "PANGO_ATTR_FOREGROUND", "foreground" },
-      { PANGO_ATTR_BACKGROUND, "PANGO_ATTR_BACKGROUND", "background" },
-      { PANGO_ATTR_UNDERLINE, "PANGO_ATTR_UNDERLINE", "underline" },
-      { PANGO_ATTR_STRIKETHROUGH, "PANGO_ATTR_STRIKETHROUGH", "strikethrough" },
-      { PANGO_ATTR_RISE, "PANGO_ATTR_RISE", "rise" },
-      { PANGO_ATTR_SHAPE, "PANGO_ATTR_SHAPE", "shape" },
-      { PANGO_ATTR_SCALE, "PANGO_ATTR_SCALE", "scale" },
-      { 0, NULL, NULL }
-    };
-    etype = g_enum_register_static ("PangoAttrType", values);
-  }
-  return etype;
-}
-
-GType
-pango_underline_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0) {
-    static const GEnumValue values[] = {
-      { PANGO_UNDERLINE_NONE, "PANGO_UNDERLINE_NONE", "none" },
-      { PANGO_UNDERLINE_SINGLE, "PANGO_UNDERLINE_SINGLE", "single" },
-      { PANGO_UNDERLINE_DOUBLE, "PANGO_UNDERLINE_DOUBLE", "double" },
-      { PANGO_UNDERLINE_LOW, "PANGO_UNDERLINE_LOW", "low" },
-      { 0, NULL, NULL }
-    };
-    etype = g_enum_register_static ("PangoUnderline", values);
-  }
-  return etype;
-}
-
-
-/* enumerations from "pango-coverage.h" */
-GType
-pango_coverage_level_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0) {
-    static const GEnumValue values[] = {
-      { PANGO_COVERAGE_NONE, "PANGO_COVERAGE_NONE", "none" },
-      { PANGO_COVERAGE_FALLBACK, "PANGO_COVERAGE_FALLBACK", "fallback" },
-      { PANGO_COVERAGE_APPROXIMATE, "PANGO_COVERAGE_APPROXIMATE", "approximate" },
-      { PANGO_COVERAGE_EXACT, "PANGO_COVERAGE_EXACT", "exact" },
-      { 0, NULL, NULL }
-    };
-    etype = g_enum_register_static ("PangoCoverageLevel", values);
-  }
-  return etype;
-}
-
-
-/* enumerations from "pango-font.h" */
-GType
-pango_style_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0) {
-    static const GEnumValue values[] = {
-      { PANGO_STYLE_NORMAL, "PANGO_STYLE_NORMAL", "normal" },
-      { PANGO_STYLE_OBLIQUE, "PANGO_STYLE_OBLIQUE", "oblique" },
-      { PANGO_STYLE_ITALIC, "PANGO_STYLE_ITALIC", "italic" },
-      { 0, NULL, NULL }
-    };
-    etype = g_enum_register_static ("PangoStyle", values);
-  }
-  return etype;
-}
-
-GType
-pango_variant_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0) {
-    static const GEnumValue values[] = {
-      { PANGO_VARIANT_NORMAL, "PANGO_VARIANT_NORMAL", "normal" },
-      { PANGO_VARIANT_SMALL_CAPS, "PANGO_VARIANT_SMALL_CAPS", "small-caps" },
-      { 0, NULL, NULL }
-    };
-    etype = g_enum_register_static ("PangoVariant", values);
-  }
-  return etype;
-}
-
-GType
-pango_weight_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0) {
-    static const GEnumValue values[] = {
-      { PANGO_WEIGHT_ULTRALIGHT, "PANGO_WEIGHT_ULTRALIGHT", "ultralight" },
-      { PANGO_WEIGHT_LIGHT, "PANGO_WEIGHT_LIGHT", "light" },
-      { PANGO_WEIGHT_NORMAL, "PANGO_WEIGHT_NORMAL", "normal" },
-      { PANGO_WEIGHT_BOLD, "PANGO_WEIGHT_BOLD", "bold" },
-      { PANGO_WEIGHT_ULTRABOLD, "PANGO_WEIGHT_ULTRABOLD", "ultrabold" },
-      { PANGO_WEIGHT_HEAVY, "PANGO_WEIGHT_HEAVY", "heavy" },
-      { 0, NULL, NULL }
-    };
-    etype = g_enum_register_static ("PangoWeight", values);
-  }
-  return etype;
-}
-
-GType
-pango_stretch_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0) {
-    static const GEnumValue values[] = {
-      { PANGO_STRETCH_ULTRA_CONDENSED, "PANGO_STRETCH_ULTRA_CONDENSED", "ultra-condensed" },
-      { PANGO_STRETCH_EXTRA_CONDENSED, "PANGO_STRETCH_EXTRA_CONDENSED", "extra-condensed" },
-      { PANGO_STRETCH_CONDENSED, "PANGO_STRETCH_CONDENSED", "condensed" },
-      { PANGO_STRETCH_SEMI_CONDENSED, "PANGO_STRETCH_SEMI_CONDENSED", "semi-condensed" },
-      { PANGO_STRETCH_NORMAL, "PANGO_STRETCH_NORMAL", "normal" },
-      { PANGO_STRETCH_SEMI_EXPANDED, "PANGO_STRETCH_SEMI_EXPANDED", "semi-expanded" },
-      { PANGO_STRETCH_EXPANDED, "PANGO_STRETCH_EXPANDED", "expanded" },
-      { PANGO_STRETCH_EXTRA_EXPANDED, "PANGO_STRETCH_EXTRA_EXPANDED", "extra-expanded" },
-      { PANGO_STRETCH_ULTRA_EXPANDED, "PANGO_STRETCH_ULTRA_EXPANDED", "ultra-expanded" },
-      { 0, NULL, NULL }
-    };
-    etype = g_enum_register_static ("PangoStretch", values);
-  }
-  return etype;
-}
-
-GType
-pango_font_mask_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0) {
-    static const GFlagsValue values[] = {
-      { PANGO_FONT_MASK_FAMILY, "PANGO_FONT_MASK_FAMILY", "family" },
-      { PANGO_FONT_MASK_STYLE, "PANGO_FONT_MASK_STYLE", "style" },
-      { PANGO_FONT_MASK_VARIANT, "PANGO_FONT_MASK_VARIANT", "variant" },
-      { PANGO_FONT_MASK_WEIGHT, "PANGO_FONT_MASK_WEIGHT", "weight" },
-      { PANGO_FONT_MASK_STRETCH, "PANGO_FONT_MASK_STRETCH", "stretch" },
-      { PANGO_FONT_MASK_SIZE, "PANGO_FONT_MASK_SIZE", "size" },
-      { 0, NULL, NULL }
-    };
-    etype = g_flags_register_static ("PangoFontMask", values);
-  }
-  return etype;
-}
-
-
-/* enumerations from "pango-layout.h" */
-GType
-pango_alignment_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0) {
-    static const GEnumValue values[] = {
-      { PANGO_ALIGN_LEFT, "PANGO_ALIGN_LEFT", "left" },
-      { PANGO_ALIGN_CENTER, "PANGO_ALIGN_CENTER", "center" },
-      { PANGO_ALIGN_RIGHT, "PANGO_ALIGN_RIGHT", "right" },
-      { 0, NULL, NULL }
-    };
-    etype = g_enum_register_static ("PangoAlignment", values);
-  }
-  return etype;
-}
-
-GType
-pango_wrap_mode_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0) {
-    static const GEnumValue values[] = {
-      { PANGO_WRAP_WORD, "PANGO_WRAP_WORD", "word" },
-      { PANGO_WRAP_CHAR, "PANGO_WRAP_CHAR", "char" },
-      { PANGO_WRAP_WORD_CHAR, "PANGO_WRAP_WORD_CHAR", "word-char" },
-      { 0, NULL, NULL }
-    };
-    etype = g_enum_register_static ("PangoWrapMode", values);
-  }
-  return etype;
-}
-
-
-/* enumerations from "pango-tabs.h" */
-GType
-pango_tab_align_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0) {
-    static const GEnumValue values[] = {
-      { PANGO_TAB_LEFT, "PANGO_TAB_LEFT", "left" },
-      { 0, NULL, NULL }
-    };
-    etype = g_enum_register_static ("PangoTabAlign", values);
-  }
-  return etype;
-}
-
-
-/* enumerations from "pango-types.h" */
-GType
-pango_direction_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0) {
-    static const GEnumValue values[] = {
-      { PANGO_DIRECTION_LTR, "PANGO_DIRECTION_LTR", "ltr" },
-      { PANGO_DIRECTION_RTL, "PANGO_DIRECTION_RTL", "rtl" },
-      { PANGO_DIRECTION_TTB_LTR, "PANGO_DIRECTION_TTB_LTR", "ttb-ltr" },
-      { PANGO_DIRECTION_TTB_RTL, "PANGO_DIRECTION_TTB_RTL", "ttb-rtl" },
-      { 0, NULL, NULL }
-    };
-    etype = g_enum_register_static ("PangoDirection", values);
-  }
-  return etype;
-}
-
-
-/* Generated data ends here */
-
--- pango-1.2.5/pango/pango-enum-types.h	Thu Jul 24 14:11:58 2003
+++ pango-1.2.5-new/pango/pango-enum-types.h	Wed Dec 31 18:00:00 1969
@@ -1,64 +0,0 @@
-
-/* Generated data (by glib-mkenums) */
-
-#ifndef __PANGO_ENUM_TYPES_H__
-#define __PANGO_ENUM_TYPES_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-/* enumerations from "pango-attributes.h" */
-
-GType pango_attr_type_get_type (void);
-#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type())
-
-GType pango_underline_get_type (void);
-#define PANGO_TYPE_UNDERLINE (pango_underline_get_type())
-
-/* enumerations from "pango-coverage.h" */
-
-GType pango_coverage_level_get_type (void);
-#define PANGO_TYPE_COVERAGE_LEVEL (pango_coverage_level_get_type())
-
-/* enumerations from "pango-font.h" */
-
-GType pango_style_get_type (void);
-#define PANGO_TYPE_STYLE (pango_style_get_type())
-
-GType pango_variant_get_type (void);
-#define PANGO_TYPE_VARIANT (pango_variant_get_type())
-
-GType pango_weight_get_type (void);
-#define PANGO_TYPE_WEIGHT (pango_weight_get_type())
-
-GType pango_stretch_get_type (void);
-#define PANGO_TYPE_STRETCH (pango_stretch_get_type())
-
-GType pango_font_mask_get_type (void);
-#define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type())
-
-/* enumerations from "pango-layout.h" */
-
-GType pango_alignment_get_type (void);
-#define PANGO_TYPE_ALIGNMENT (pango_alignment_get_type())
-
-GType pango_wrap_mode_get_type (void);
-#define PANGO_TYPE_WRAP_MODE (pango_wrap_mode_get_type())
-
-/* enumerations from "pango-tabs.h" */
-
-GType pango_tab_align_get_type (void);
-#define PANGO_TYPE_TAB_ALIGN (pango_tab_align_get_type())
-
-/* enumerations from "pango-types.h" */
-
-GType pango_direction_get_type (void);
-#define PANGO_TYPE_DIRECTION (pango_direction_get_type())
-
-G_END_DECLS
-
-#endif /* __PANGO_ENUM_TYPES_H__ */
-
-/* Generated data ends here */
-
--- pango-1.2.5/pango/pango-ot.h	Mon Jun  3 19:20:47 2002
+++ pango-1.2.5-new/pango/pango-ot.h	Thu Dec 18 14:37:56 2003
@@ -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
--- pango-1.2.5/pango/pangoft2.c	Fri Aug  8 12:05:05 2003
+++ pango-1.2.5-new/pango/pangoft2.c	Thu Dec 18 14:34:50 2003
@@ -28,7 +28,8 @@
 #include <glib.h>
 #include <glib/gprintf.h>
 
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
 
 #include "pango-utils.h"
 #include "pangoft2.h"
--- pango-1.2.5/pango/pangoft2.h	Wed Jul  3 17:30:36 2002
+++ pango-1.2.5-new/pango/pangoft2.h	Thu Dec 18 14:36:12 2003
@@ -23,7 +23,8 @@
 #ifndef __PANGOFT2_H__
 #define __PANGOFT2_H__
 
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
 
 #include <fontconfig/fontconfig.h>