pango 2.0.0-x86-mingw32 → 2.0.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/Rakefile +29 -3
  2. data/ext/pango/extconf.rb +7 -0
  3. data/ext/pango/rbpangocairo.c +12 -0
  4. data/ext/pango/rbpangofontmap.c +22 -3
  5. data/lib/1.9/pango.so +0 -0
  6. data/lib/2.0/pango.so +0 -0
  7. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  8. data/vendor/local/bin/hb-shape.exe +0 -0
  9. data/vendor/local/bin/hb-view.exe +0 -0
  10. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  11. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  12. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  13. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  14. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  15. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  16. data/vendor/local/bin/libstdc++-6.dll +0 -0
  17. data/vendor/local/bin/pango-querymodules.exe +0 -0
  18. data/vendor/local/bin/pango-view.exe +0 -0
  19. data/vendor/local/etc/pango/pango.modules +1 -0
  20. data/vendor/local/include/harfbuzz/hb-blob.h +127 -0
  21. data/vendor/local/include/harfbuzz/hb-buffer.h +323 -0
  22. data/vendor/local/include/harfbuzz/hb-common.h +317 -0
  23. data/vendor/local/include/harfbuzz/hb-font.h +454 -0
  24. data/vendor/local/include/harfbuzz/hb-ft.h +62 -0
  25. data/vendor/local/include/harfbuzz/hb-glib.h +52 -0
  26. data/vendor/local/include/harfbuzz/hb-gobject.h +69 -0
  27. data/vendor/local/include/harfbuzz/hb-ot-layout.h +293 -0
  28. data/vendor/local/include/harfbuzz/hb-ot-tag.h +59 -0
  29. data/vendor/local/include/harfbuzz/hb-ot.h +49 -0
  30. data/vendor/local/include/harfbuzz/hb-set.h +152 -0
  31. data/vendor/local/include/harfbuzz/hb-shape-plan.h +89 -0
  32. data/vendor/local/include/harfbuzz/hb-shape.h +81 -0
  33. data/vendor/local/include/harfbuzz/hb-unicode.h +357 -0
  34. data/vendor/local/include/harfbuzz/hb-uniscribe.h +49 -0
  35. data/vendor/local/include/harfbuzz/hb-version.h +66 -0
  36. data/vendor/local/include/harfbuzz/hb.h +45 -0
  37. data/vendor/local/include/pango-1.0/pango/pango-attributes.h +2 -2
  38. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  39. data/vendor/local/include/pango-1.0/pango/pango-ot.h +242 -0
  40. data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +110 -0
  41. data/vendor/local/include/pango-1.0/pango/pangofc-font.h +153 -0
  42. data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +289 -0
  43. data/vendor/local/include/pango-1.0/pango/pangoft2.h +120 -0
  44. data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
  45. data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
  46. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  47. data/vendor/local/lib/libharfbuzz.la +41 -0
  48. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  49. data/vendor/local/lib/libpango-1.0.la +1 -1
  50. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  51. data/vendor/local/lib/libpangocairo-1.0.la +2 -2
  52. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  53. data/vendor/local/lib/libpangoft2-1.0.la +41 -0
  54. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  55. data/vendor/local/lib/libpangowin32-1.0.la +1 -1
  56. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
  57. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
  58. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
  59. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
  60. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +41 -0
  61. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
  62. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
  63. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
  64. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
  65. data/vendor/local/lib/pkgconfig/harfbuzz.pc +11 -0
  66. data/vendor/local/lib/pkgconfig/pango.pc +1 -1
  67. data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
  68. data/vendor/local/lib/pkgconfig/pangoft2.pc +12 -0
  69. data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
  70. data/vendor/local/share/gir-1.0/Pango-1.0.gir +1 -1
  71. data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +22 -1
  72. data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +349 -0
  73. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +5 -5
  74. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +4 -4
  75. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +3 -3
  76. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +17 -17
  77. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +22 -22
  78. data/vendor/local/share/gtk-doc/html/pango/index.html +1 -1
  79. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +15 -15
  80. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +30 -30
  81. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +1 -1
  82. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +7 -7
  83. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +11 -11
  84. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +123 -123
  85. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +15 -15
  86. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +56 -56
  87. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +130 -130
  88. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +76 -76
  89. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +9 -9
  90. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +101 -101
  91. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +38 -38
  92. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +35 -35
  93. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +135 -135
  94. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +75 -75
  95. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +3 -3
  96. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +8 -8
  97. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +22 -22
  98. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +35 -35
  99. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +1 -1
  100. data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +11 -11
  101. data/vendor/local/share/license/harfbuzz/AUTHORS +8 -0
  102. data/vendor/local/share/license/harfbuzz/COPYING +36 -0
  103. data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
  104. data/vendor/local/share/man/man1/pango-view.1 +1 -1
  105. metadata +50 -8
@@ -0,0 +1,289 @@
1
+ /* Pango
2
+ * pangofc-fontmap.h: Base fontmap type for fontconfig-based backends
3
+ *
4
+ * Copyright (C) 2003 Red Hat Software
5
+ *
6
+ * This library is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU Library General Public
8
+ * License as published by the Free Software Foundation; either
9
+ * version 2 of the License, or (at your option) any later version.
10
+ *
11
+ * This library is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
+ * Library General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Library General Public
17
+ * License along with this library; if not, write to the
18
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19
+ * Boston, MA 02111-1307, USA.
20
+ */
21
+
22
+ #ifndef __PANGO_FC_FONT_MAP_H__
23
+ #define __PANGO_FC_FONT_MAP_H__
24
+
25
+ #include <fontconfig/fontconfig.h>
26
+ #include <pango/pango-fontmap.h>
27
+ #include <pango/pangofc-decoder.h>
28
+ #include <pango/pangofc-font.h>
29
+
30
+ G_BEGIN_DECLS
31
+
32
+
33
+ #ifdef PANGO_ENABLE_BACKEND
34
+
35
+ /**
36
+ * PangoFcFontsetKey:
37
+ *
38
+ * An opaque structure containing all the information needed for
39
+ * loading a fontset with the PangoFc fontmap.
40
+ *
41
+ * Since: 1.24
42
+ **/
43
+ typedef struct _PangoFcFontsetKey PangoFcFontsetKey;
44
+
45
+ PangoLanguage *pango_fc_fontset_key_get_language (const PangoFcFontsetKey *key);
46
+ const PangoFontDescription *pango_fc_fontset_key_get_description (const PangoFcFontsetKey *key);
47
+ const PangoMatrix *pango_fc_fontset_key_get_matrix (const PangoFcFontsetKey *key);
48
+ double pango_fc_fontset_key_get_absolute_size (const PangoFcFontsetKey *key);
49
+ double pango_fc_fontset_key_get_resolution (const PangoFcFontsetKey *key);
50
+ gpointer pango_fc_fontset_key_get_context_key (const PangoFcFontsetKey *key);
51
+
52
+ /**
53
+ * PangoFcFontKey:
54
+ *
55
+ * An opaque structure containing all the information needed for
56
+ * loading a font with the PangoFc fontmap.
57
+ *
58
+ * Since: 1.24
59
+ **/
60
+ typedef struct _PangoFcFontKey PangoFcFontKey;
61
+
62
+ const FcPattern *pango_fc_font_key_get_pattern (const PangoFcFontKey *key);
63
+ const PangoMatrix *pango_fc_font_key_get_matrix (const PangoFcFontKey *key);
64
+ gpointer pango_fc_font_key_get_context_key (const PangoFcFontKey *key);
65
+
66
+ #endif
67
+
68
+
69
+ /*
70
+ * PangoFcFontMap
71
+ */
72
+
73
+ #define PANGO_TYPE_FC_FONT_MAP (pango_fc_font_map_get_type ())
74
+ #define PANGO_FC_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT_MAP, PangoFcFontMap))
75
+ #define PANGO_IS_FC_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FC_FONT_MAP))
76
+
77
+ typedef struct _PangoFcFontMap PangoFcFontMap;
78
+ typedef struct _PangoFcFontMapClass PangoFcFontMapClass;
79
+ typedef struct _PangoFcFontMapPrivate PangoFcFontMapPrivate;
80
+
81
+ #ifdef PANGO_ENABLE_BACKEND
82
+
83
+ #define PANGO_FC_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FC_FONT_MAP, PangoFcFontMapClass))
84
+ #define PANGO_IS_FC_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FC_FONT_MAP))
85
+ #define PANGO_FC_FONT_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FC_FONT_MAP, PangoFcFontMapClass))
86
+
87
+ /**
88
+ * PangoFcFontMap:
89
+ *
90
+ * #PangoFcFontMap is a base class for font map implementations
91
+ * using the Fontconfig and FreeType libraries. To create a new
92
+ * backend using Fontconfig and FreeType, you derive from this class
93
+ * and implement a new_font() virtual function that creates an
94
+ * instance deriving from #PangoFcFont.
95
+ **/
96
+ struct _PangoFcFontMap
97
+ {
98
+ PangoFontMap parent_instance;
99
+
100
+ PangoFcFontMapPrivate *priv;
101
+ };
102
+
103
+ /**
104
+ * PangoFcFontMapClass:
105
+ * @default_substitute: Substitutes in default values for
106
+ * unspecified fields in a #FcPattern. This will be called
107
+ * prior to creating a font for the pattern. May be %NULL.
108
+ * Deprecated in favor of @font_key_substitute().
109
+ * @new_font: Creates a new #PangoFcFont for the specified
110
+ * pattern of the appropriate type for this font map. The
111
+ * @pattern argument must be passed to the "pattern" property
112
+ * of #PangoFcFont when you call g_object_new(). Deprecated
113
+ * in favor of @create_font().
114
+ * @get_resolution: Gets the resolution (the scale factor
115
+ * between logical and absolute font sizes) that the backend
116
+ * will use for a particular fontmap and context. @context
117
+ * may be null.
118
+ * @context_key_get: Gets an opaque key holding backend
119
+ * specific options for the context that will affect
120
+ * fonts created by create_font(). The result must point to
121
+ * persistant storage owned by the fontmap. This key
122
+ * is used to index hash tables used to look up fontsets
123
+ * and fonts.
124
+ * @context_key_copy: Copies a context key. Pango uses this
125
+ * to make a persistant copy of the value returned from
126
+ * @context_key_get.
127
+ * @context_key_free: Frees a context key copied with
128
+ * @context_key_copy.
129
+ * @context_key_hash: Gets a hash value for a context key
130
+ * @context_key_equal: Compares two context keys for equality.
131
+ * @fontset_key_substitute: Substitutes in default values for
132
+ * unspecified fields in a #FcPattern. This will be called
133
+ * prior to creating a font for the pattern. May be %NULL.
134
+ * (Since: 1.24)
135
+ * @create_font: Creates a new #PangoFcFont for the specified
136
+ * pattern of the appropriate type for this font map using
137
+ * information from the font key that is passed in. The
138
+ * @pattern member of @font_key can be retrieved using
139
+ * pango_fc_font_key_get_pattern() and must be passed to
140
+ * the "pattern" property of #PangoFcFont when you call
141
+ * g_object_new(). If %NULL, new_font() is used.
142
+ * (Since: 1.24)
143
+ *
144
+ * Class structure for #PangoFcFontMap.
145
+ **/
146
+ struct _PangoFcFontMapClass
147
+ {
148
+ /*< private >*/
149
+ PangoFontMapClass parent_class;
150
+
151
+ /*< public >*/
152
+ /* Deprecated in favor of fontset_key_substitute */
153
+ void (*default_substitute) (PangoFcFontMap *fontmap,
154
+ FcPattern *pattern);
155
+ /* Deprecated in favor of create_font */
156
+ PangoFcFont *(*new_font) (PangoFcFontMap *fontmap,
157
+ FcPattern *pattern);
158
+
159
+ double (*get_resolution) (PangoFcFontMap *fcfontmap,
160
+ PangoContext *context);
161
+
162
+ gconstpointer (*context_key_get) (PangoFcFontMap *fcfontmap,
163
+ PangoContext *context);
164
+ gpointer (*context_key_copy) (PangoFcFontMap *fcfontmap,
165
+ gconstpointer key);
166
+ void (*context_key_free) (PangoFcFontMap *fcfontmap,
167
+ gpointer key);
168
+ guint32 (*context_key_hash) (PangoFcFontMap *fcfontmap,
169
+ gconstpointer key);
170
+ gboolean (*context_key_equal) (PangoFcFontMap *fcfontmap,
171
+ gconstpointer key_a,
172
+ gconstpointer key_b);
173
+
174
+ void (*fontset_key_substitute)(PangoFcFontMap *fontmap,
175
+ PangoFcFontsetKey *fontsetkey,
176
+ FcPattern *pattern);
177
+ PangoFcFont *(*create_font) (PangoFcFontMap *fontmap,
178
+ PangoFcFontKey *fontkey);
179
+ /*< private >*/
180
+
181
+ /* Padding for future expansion */
182
+ void (*_pango_reserved1) (void);
183
+ void (*_pango_reserved2) (void);
184
+ void (*_pango_reserved3) (void);
185
+ void (*_pango_reserved4) (void);
186
+ };
187
+
188
+ #ifndef PANGO_DISABLE_DEPRECATED
189
+ G_DEPRECATED_FOR(pango_font_map_create_context)
190
+ PangoContext * pango_fc_font_map_create_context (PangoFcFontMap *fcfontmap);
191
+ #endif
192
+ void pango_fc_font_map_shutdown (PangoFcFontMap *fcfontmap);
193
+
194
+ #endif
195
+
196
+ GType pango_fc_font_map_get_type (void) G_GNUC_CONST;
197
+
198
+ void pango_fc_font_map_cache_clear (PangoFcFontMap *fcfontmap);
199
+
200
+ /**
201
+ * PangoFcDecoderFindFunc:
202
+ * @pattern: a fully resolved #FcPattern specifying the font on the system
203
+ * @user_data: user data passed to pango_fc_font_map_add_decoder_find_func()
204
+ *
205
+ * Callback function passed to pango_fc_font_map_add_decoder_find_func().
206
+ *
207
+ * Return value: a new reference to a custom decoder for this pattern,
208
+ * or %NULL if the default decoder handling should be used.
209
+ **/
210
+ typedef PangoFcDecoder * (*PangoFcDecoderFindFunc) (FcPattern *pattern,
211
+ gpointer user_data);
212
+
213
+ void pango_fc_font_map_add_decoder_find_func (PangoFcFontMap *fcfontmap,
214
+ PangoFcDecoderFindFunc findfunc,
215
+ gpointer user_data,
216
+ GDestroyNotify dnotify);
217
+ PangoFcDecoder *pango_fc_font_map_find_decoder (PangoFcFontMap *fcfontmap,
218
+ FcPattern *pattern);
219
+
220
+ PangoFontDescription *pango_fc_font_description_from_pattern (FcPattern *pattern,
221
+ gboolean include_size);
222
+
223
+ /**
224
+ * PANGO_FC_GRAVITY:
225
+ *
226
+ * String representing a fontconfig property name that Pango sets on any
227
+ * fontconfig pattern it passes to fontconfig if a #PangoGravity other
228
+ * than %PangoGravitySouth is desired.
229
+ *
230
+ * The property will have a #PangoGravity value as a string, like "east".
231
+ * This can be used to write fontconfig configuration rules to choose
232
+ * different fonts for horizontal and vertical writing directions.
233
+ *
234
+ * Since: 1.20
235
+ */
236
+ #define PANGO_FC_GRAVITY "pangogravity"
237
+
238
+ /**
239
+ * PANGO_FC_VERSION:
240
+ *
241
+ * String representing a fontconfig property name that Pango sets on any
242
+ * fontconfig pattern it passes to fontconfig.
243
+ *
244
+ * The property will have an integer value equal to what
245
+ * pango_version() returns.
246
+ * This can be used to write fontconfig configuration rules that only affect
247
+ * certain pango versions (or only pango-using applications, or only
248
+ * non-pango-using applications).
249
+ *
250
+ * Since: 1.20
251
+ */
252
+ #define PANGO_FC_VERSION "pangoversion"
253
+
254
+ /**
255
+ * PANGO_FC_PRGNAME:
256
+ *
257
+ * String representing a fontconfig property name that Pango sets on any
258
+ * fontconfig pattern it passes to fontconfig.
259
+ *
260
+ * The property will have a string equal to what
261
+ * g_get_prgname() returns.
262
+ * This can be used to write fontconfig configuration rules that only affect
263
+ * certain applications.
264
+ *
265
+ * This is equivalent to FC_PRGNAME in versions of fontconfig that have that.
266
+ *
267
+ * Since: 1.24
268
+ */
269
+ #define PANGO_FC_PRGNAME "prgname"
270
+
271
+ /**
272
+ * PANGO_FC_FONT_FEATURES:
273
+ *
274
+ * String representing a fontconfig property name that Pango reads from font
275
+ * patterns to populate list of OpenType features to be enabled for the font
276
+ * by default.
277
+ *
278
+ * The property will have a number of string elements, each of which is the
279
+ * OpenType feature tag of one feature to enable.
280
+ *
281
+ * This is equivalent to FC_FONT_FEATURES in versions of fontconfig that have that.
282
+ *
283
+ * Since: 1.34
284
+ */
285
+ #define PANGO_FC_FONT_FEATURES "fontfeatures"
286
+
287
+ G_END_DECLS
288
+
289
+ #endif /* __PANGO_FC_FONT_MAP_H__ */
@@ -0,0 +1,120 @@
1
+ /* Pango
2
+ * pangoft2.h:
3
+ *
4
+ * Copyright (C) 1999 Red Hat Software
5
+ * Copyright (C) 2000 Tor Lillqvist
6
+ *
7
+ * This library is free software; you can redistribute it and/or
8
+ * modify it under the terms of the GNU Library General Public
9
+ * License as published by the Free Software Foundation; either
10
+ * version 2 of the License, or (at your option) any later version.
11
+ *
12
+ * This library is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
+ * Library General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Library General Public
18
+ * License along with this library; if not, write to the
19
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20
+ * Boston, MA 02111-1307, USA.
21
+ */
22
+
23
+ #ifndef __PANGOFT2_H__
24
+ #define __PANGOFT2_H__
25
+
26
+ #include <fontconfig/fontconfig.h>
27
+
28
+ #include <pango/pango-layout.h>
29
+ #include <pango/pangofc-font.h>
30
+
31
+ G_BEGIN_DECLS
32
+
33
+ #ifndef PANGO_DISABLE_DEPRECATED
34
+ #define PANGO_RENDER_TYPE_FT2 "PangoRenderFT2"
35
+ #endif
36
+
37
+ #define PANGO_TYPE_FT2_FONT_MAP (pango_ft2_font_map_get_type ())
38
+ #define PANGO_FT2_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT_MAP, PangoFT2FontMap))
39
+ #define PANGO_FT2_IS_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FT2_FONT_MAP))
40
+
41
+ typedef struct _PangoFT2FontMap PangoFT2FontMap;
42
+
43
+ typedef void (*PangoFT2SubstituteFunc) (FcPattern *pattern,
44
+ gpointer data);
45
+
46
+ /* Calls for applications */
47
+
48
+ void pango_ft2_render (FT_Bitmap *bitmap,
49
+ PangoFont *font,
50
+ PangoGlyphString *glyphs,
51
+ gint x,
52
+ gint y);
53
+ void pango_ft2_render_transformed (FT_Bitmap *bitmap,
54
+ const PangoMatrix *matrix,
55
+ PangoFont *font,
56
+ PangoGlyphString *glyphs,
57
+ int x,
58
+ int y);
59
+
60
+ void pango_ft2_render_layout_line (FT_Bitmap *bitmap,
61
+ PangoLayoutLine *line,
62
+ int x,
63
+ int y);
64
+ void pango_ft2_render_layout_line_subpixel (FT_Bitmap *bitmap,
65
+ PangoLayoutLine *line,
66
+ int x,
67
+ int y);
68
+ void pango_ft2_render_layout (FT_Bitmap *bitmap,
69
+ PangoLayout *layout,
70
+ int x,
71
+ int y);
72
+ void pango_ft2_render_layout_subpixel (FT_Bitmap *bitmap,
73
+ PangoLayout *layout,
74
+ int x,
75
+ int y);
76
+
77
+ GType pango_ft2_font_map_get_type (void) G_GNUC_CONST;
78
+
79
+ PangoFontMap *pango_ft2_font_map_new (void);
80
+ void pango_ft2_font_map_set_resolution (PangoFT2FontMap *fontmap,
81
+ double dpi_x,
82
+ double dpi_y);
83
+ void pango_ft2_font_map_set_default_substitute (PangoFT2FontMap *fontmap,
84
+ PangoFT2SubstituteFunc func,
85
+ gpointer data,
86
+ GDestroyNotify notify);
87
+ void pango_ft2_font_map_substitute_changed (PangoFT2FontMap *fontmap);
88
+ #ifndef PANGO_DISABLE_DEPRECATED
89
+ G_DEPRECATED_FOR(pango_font_map_create_context)
90
+ PangoContext *pango_ft2_font_map_create_context (PangoFT2FontMap *fontmap);
91
+ #endif
92
+
93
+
94
+ /* API for rendering modules
95
+ */
96
+ #ifndef PANGO_DISABLE_DEPRECATED
97
+ G_DEPRECATED_FOR(pango_font_map_create_context)
98
+ PangoContext *pango_ft2_get_context (double dpi_x,
99
+ double dpi_y);
100
+ G_DEPRECATED_FOR(pango_ft2_font_map_new)
101
+ PangoFontMap *pango_ft2_font_map_for_display (void);
102
+ G_DEPRECATED
103
+ void pango_ft2_shutdown_display (void);
104
+
105
+ G_DEPRECATED_FOR(PANGO_GET_UNKNOWN_GLYPH)
106
+ PangoGlyph pango_ft2_get_unknown_glyph (PangoFont *font);
107
+ G_DEPRECATED_FOR(pango_fc_font_kern_glyphs)
108
+ int pango_ft2_font_get_kerning (PangoFont *font,
109
+ PangoGlyph left,
110
+ PangoGlyph right);
111
+ G_DEPRECATED_FOR(pango_fc_font_lock_face)
112
+ FT_Face pango_ft2_font_get_face (PangoFont *font);
113
+ G_DEPRECATED_FOR(pango_font_get_coverage)
114
+ PangoCoverage *pango_ft2_font_get_coverage (PangoFont *font,
115
+ PangoLanguage *language);
116
+ #endif /* PANGO_DISABLE_DEPRECATED */
117
+
118
+ G_END_DECLS
119
+
120
+ #endif /* __PANGOFT2_H__ */
Binary file
@@ -0,0 +1,41 @@
1
+ # libharfbuzz.la - a libtool library file
2
+ # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='../bin/libharfbuzz-0.dll'
9
+
10
+ # Names of this library.
11
+ library_names='libharfbuzz.dll.a'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Linker flags that can not go in dependency_libs.
17
+ inherited_linker_flags=''
18
+
19
+ # Libraries that this one depends upon.
20
+ dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la -lffi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lole32 -lwinmm -lshlwapi -lintl /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la -lz -lusp10 -lgdi32'
21
+
22
+ # Names of additional weak libraries provided by this library
23
+ weak_library_names=''
24
+
25
+ # Version information for libharfbuzz.
26
+ current=917
27
+ age=917
28
+ revision=0
29
+
30
+ # Is this an already installed library?
31
+ installed=yes
32
+
33
+ # Should we warn about portability when linking against -modules?
34
+ shouldnotlink=no
35
+
36
+ # Files to dlopen/dlpreopen
37
+ dlopen=''
38
+ dlpreopen=''
39
+
40
+ # Directory that this library needs to be installed in:
41
+ libdir='/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib'
Binary file
@@ -25,7 +25,7 @@ weak_library_names=''
25
25
  # Version information for libpango-1.0.
26
26
  current=3400
27
27
  age=3400
28
- revision=0
28
+ revision=1
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
@@ -17,7 +17,7 @@ old_library=''
17
17
  inherited_linker_flags=''
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib -lcairo /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangowin32-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpango-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la -lffi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgthread-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lole32 -lwinmm -lshlwapi -lintl -lgdi32'
20
+ dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libcairo.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpixman-1.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng16.la -lmsimg32 /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangowin32-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangoft2-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpango-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgthread-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libharfbuzz.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la -lffi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi -lintl -lusp10 -lgdi32 /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfontconfig.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libxml2.la -lz -lws2_32'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
@@ -25,7 +25,7 @@ weak_library_names=''
25
25
  # Version information for libpangocairo-1.0.
26
26
  current=3400
27
27
  age=3400
28
- revision=0
28
+ revision=1
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
@@ -0,0 +1,41 @@
1
+ # libpangoft2-1.0.la - a libtool library file
2
+ # Generated by libtool (GNU libtool) 2.4.2
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='../bin/libpangoft2-1.0-0.dll'
9
+
10
+ # Names of this library.
11
+ library_names='libpangoft2-1.0.dll.a'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Linker flags that can not go in dependency_libs.
17
+ inherited_linker_flags=''
18
+
19
+ # Libraries that this one depends upon.
20
+ dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpango-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgthread-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libharfbuzz.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la -lffi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi -lintl -lusp10 -lgdi32 /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfontconfig.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libxml2.la -lz -lws2_32'
21
+
22
+ # Names of additional weak libraries provided by this library
23
+ weak_library_names=''
24
+
25
+ # Version information for libpangoft2-1.0.
26
+ current=3400
27
+ age=3400
28
+ revision=1
29
+
30
+ # Is this an already installed library?
31
+ installed=yes
32
+
33
+ # Should we warn about portability when linking against -modules?
34
+ shouldnotlink=no
35
+
36
+ # Files to dlopen/dlpreopen
37
+ dlopen=''
38
+ dlpreopen=''
39
+
40
+ # Directory that this library needs to be installed in:
41
+ libdir='/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib'
@@ -25,7 +25,7 @@ weak_library_names=''
25
25
  # Version information for libpangowin32-1.0.
26
26
  current=3400
27
27
  age=3400
28
- revision=0
28
+ revision=1
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
@@ -0,0 +1,41 @@
1
+ # pango-basic-fc.la - a libtool library file
2
+ # Generated by libtool (GNU libtool) 2.4.2
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='pango-basic-fc.dll'
9
+
10
+ # Names of this library.
11
+ library_names='pango-basic-fc.dll.a'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Linker flags that can not go in dependency_libs.
17
+ inherited_linker_flags=''
18
+
19
+ # Libraries that this one depends upon.
20
+ dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangoft2-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpango-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgthread-2.0.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfontconfig.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libxml2.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libharfbuzz.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la -lffi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lole32 -lwinmm -lshlwapi -lintl /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la -lz -lusp10 -lgdi32'
21
+
22
+ # Names of additional weak libraries provided by this library
23
+ weak_library_names=''
24
+
25
+ # Version information for pango-basic-fc.
26
+ current=0
27
+ age=0
28
+ revision=0
29
+
30
+ # Is this an already installed library?
31
+ installed=yes
32
+
33
+ # Should we warn about portability when linking against -modules?
34
+ shouldnotlink=yes
35
+
36
+ # Files to dlopen/dlpreopen
37
+ dlopen=''
38
+ dlpreopen=''
39
+
40
+ # Directory that this library needs to be installed in:
41
+ libdir='/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules'
@@ -0,0 +1,11 @@
1
+ prefix=/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include
5
+
6
+ Name: harfbuzz
7
+ Description: Text shaping library
8
+ Version: 0.9.17
9
+
10
+ Libs: -L${libdir} -lharfbuzz
11
+ Cflags: -I${includedir}/harfbuzz
@@ -7,7 +7,7 @@ pango_module_version=1.8.0
7
7
 
8
8
  Name: Pango
9
9
  Description: Internationalized text handling
10
- Version: 1.34.0
10
+ Version: 1.34.1
11
11
  Requires: glib-2.0 gobject-2.0
12
12
  Requires.private: gmodule-no-export-2.0
13
13
  Libs: -L${libdir} -lpango-1.0 -lm
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: Pango Cairo
7
7
  Description: Cairo rendering support for Pango
8
- Version: 1.34.0
9
- Requires: pango cairo pangowin32
8
+ Version: 1.34.1
9
+ Requires: pango cairo pangoft2 pangowin32
10
10
  Libs: -L${libdir} -lpangocairo-1.0
11
11
  Cflags: -I${includedir}/pango-1.0
@@ -0,0 +1,12 @@
1
+ prefix=/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include
5
+
6
+ Name: Pango FT2 and Pango Fc
7
+ Description: Freetype 2.0 and fontconfig font support for Pango
8
+ Version: 1.34.1
9
+ Requires: pango freetype2 fontconfig
10
+ Requires.private: harfbuzz
11
+ Libs: -L${libdir} -lpangoft2-1.0
12
+ Cflags: -I${includedir}/pango-1.0